Class: JSONAPI::Realizer::Configuration
- Inherits:
-
Object
- Object
- JSONAPI::Realizer::Configuration
- Includes:
- ActiveModel::Model
- Defined in:
- lib/jsonapi/realizer/configuration.rb
Instance Attribute Summary collapse
-
#adapter_mappings ⇒ Object
Returns the value of attribute adapter_mappings.
-
#default_identifier ⇒ Object
Returns the value of attribute default_identifier.
-
#default_invalid_content_type_exception ⇒ Object
Returns the value of attribute default_invalid_content_type_exception.
-
#default_missing_content_type_exception ⇒ Object
Returns the value of attribute default_missing_content_type_exception.
-
#default_origin ⇒ Object
Returns the value of attribute default_origin.
Instance Method Summary collapse
-
#initialize(**keyword_arguments) ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize(**keyword_arguments) ⇒ Configuration
Returns a new instance of Configuration.
15 16 17 18 19 |
# File 'lib/jsonapi/realizer/configuration.rb', line 15 def initialize(**keyword_arguments) super(**keyword_arguments) validate! end |
Instance Attribute Details
#adapter_mappings ⇒ Object
Returns the value of attribute adapter_mappings.
8 9 10 |
# File 'lib/jsonapi/realizer/configuration.rb', line 8 def adapter_mappings @adapter_mappings end |
#default_identifier ⇒ Object
Returns the value of attribute default_identifier.
7 8 9 |
# File 'lib/jsonapi/realizer/configuration.rb', line 7 def default_identifier @default_identifier end |
#default_invalid_content_type_exception ⇒ Object
Returns the value of attribute default_invalid_content_type_exception.
10 11 12 |
# File 'lib/jsonapi/realizer/configuration.rb', line 10 def default_invalid_content_type_exception @default_invalid_content_type_exception end |
#default_missing_content_type_exception ⇒ Object
Returns the value of attribute default_missing_content_type_exception.
9 10 11 |
# File 'lib/jsonapi/realizer/configuration.rb', line 9 def default_missing_content_type_exception @default_missing_content_type_exception end |
#default_origin ⇒ Object
Returns the value of attribute default_origin.
6 7 8 |
# File 'lib/jsonapi/realizer/configuration.rb', line 6 def default_origin @default_origin end |