module JsonapiForRails::Controller::Utils::Render

Constants

JSONAPI

Public Class Methods

included(receiver) click to toggle source
# File lib/jsonapi_for_rails/controller/utils/render.rb, line 7
def self.included receiver
        receiver.send :include, InstanceMethods
        run_macros receiver
end
run_macros(receiver) click to toggle source
# File lib/jsonapi_for_rails/controller/utils/render.rb, line 22
def self.run_macros receiver
        receiver.instance_exec do 
                private :jsonapi_render, :jsonapi_render_errors
        end
end