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_accept_type_exception ⇒ Object
Returns the value of attribute default_invalid_accept_type_exception.
-
#default_invalid_content_type_exception ⇒ Object
Returns the value of attribute default_invalid_content_type_exception.
-
#default_missing_accept_type_exception ⇒ Object
Returns the value of attribute default_missing_accept_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
21 22 23 24 25 |
# File 'lib/jsonapi/realizer/configuration.rb', line 21 def initialize(**keyword_arguments) super(**keyword_arguments) validate! end |
Instance Attribute Details
#adapter_mappings ⇒ Object
Returns the value of attribute adapter_mappings.
10 11 12 |
# File 'lib/jsonapi/realizer/configuration.rb', line 10 def adapter_mappings @adapter_mappings end |
#default_identifier ⇒ Object
Returns the value of attribute default_identifier.
9 10 11 |
# File 'lib/jsonapi/realizer/configuration.rb', line 9 def default_identifier @default_identifier end |
#default_invalid_accept_type_exception ⇒ Object
Returns the value of attribute default_invalid_accept_type_exception.
12 13 14 |
# File 'lib/jsonapi/realizer/configuration.rb', line 12 def default_invalid_accept_type_exception @default_invalid_accept_type_exception end |
#default_invalid_content_type_exception ⇒ Object
Returns the value of attribute default_invalid_content_type_exception.
14 15 16 |
# File 'lib/jsonapi/realizer/configuration.rb', line 14 def default_invalid_content_type_exception @default_invalid_content_type_exception end |
#default_missing_accept_type_exception ⇒ Object
Returns the value of attribute default_missing_accept_type_exception.
11 12 13 |
# File 'lib/jsonapi/realizer/configuration.rb', line 11 def default_missing_accept_type_exception @default_missing_accept_type_exception end |
#default_missing_content_type_exception ⇒ Object
Returns the value of attribute default_missing_content_type_exception.
13 14 15 |
# File 'lib/jsonapi/realizer/configuration.rb', line 13 def default_missing_content_type_exception @default_missing_content_type_exception end |
#default_origin ⇒ Object
Returns the value of attribute default_origin.
8 9 10 |
# File 'lib/jsonapi/realizer/configuration.rb', line 8 def default_origin @default_origin end |