module JSONAPI::Rails::Configurable
@private
Constants
- DEFAULT_CONFIG
- DEFAULT_JSONAPI_CACHE
- DEFAULT_JSONAPI_CLASS
- DEFAULT_JSONAPI_ERRORS_CLASS
- DEFAULT_JSONAPI_EXPOSE
- DEFAULT_JSONAPI_FIELDS
- DEFAULT_JSONAPI_INCLUDE
- DEFAULT_JSONAPI_LINKS
- DEFAULT_JSONAPI_META
- DEFAULT_JSONAPI_OBJECT
- DEFAULT_JSONAPI_PAGINATION
- DEFAULT_LOGGER
Public Instance Methods
config()
click to toggle source
# File lib/jsonapi/rails/configuration.rb, line 62 def config @config ||= JSONAPI::Rails::Configuration.new(DEFAULT_CONFIG) end
configure() { |config| ... }
click to toggle source
# File lib/jsonapi/rails/configuration.rb, line 58 def configure yield config end