Module: JSONAPI::Realizer

Defined in:
lib/jsonapi/realizer.rb,
lib/jsonapi/realizer/error.rb,
lib/jsonapi/realizer/action.rb,
lib/jsonapi/realizer/adapter.rb,
lib/jsonapi/realizer/context.rb,
lib/jsonapi/realizer/version.rb,
lib/jsonapi/realizer/resource.rb,
lib/jsonapi/realizer/controller.rb,
lib/jsonapi/realizer/configuration.rb,
lib/jsonapi/realizer/resource/relation.rb,
lib/jsonapi/realizer/resource/attribute.rb,
lib/jsonapi/realizer/adapter/active_record.rb,
lib/jsonapi/realizer/resource/configuration.rb,
lib/jsonapi/realizer/error/invalid_accept_type_header.rb,
lib/jsonapi/realizer/error/missing_accept_type_header.rb,
lib/jsonapi/realizer/error/invalid_content_type_header.rb,
lib/jsonapi/realizer/error/missing_content_type_header.rb,
lib/jsonapi/realizer/error/resource_attribute_not_found.rb,
lib/jsonapi/realizer/error/resource_relationship_not_found.rb

Defined Under Namespace

Modules: Context, Controller, Resource Classes: Action, Adapter, Configuration, Error

Constant Summary collapse

VERSION =
"6.3.0"

Class Method Summary collapse

Class Method Details

.configurationObject



33
34
35
36
37
38
39
# File 'lib/jsonapi/realizer.rb', line 33

def self.configuration
  if block_given?
    yield(@configuration)
  else
    @configuration
  end
end