Exception: JSONAPI::Realizer::Error::ResourceAttributeNotFound
- Inherits:
-
JSONAPI::Realizer::Error
- Object
- StandardError
- JSONAPI::Realizer::Error
- JSONAPI::Realizer::Error::ResourceAttributeNotFound
- Defined in:
- lib/jsonapi/realizer/error/resource_attribute_not_found.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#realizer ⇒ Object
Returns the value of attribute realizer.
Instance Method Summary collapse
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
7 8 9 |
# File 'lib/jsonapi/realizer/error/resource_attribute_not_found.rb', line 7 def name @name end |
#realizer ⇒ Object
Returns the value of attribute realizer.
8 9 10 |
# File 'lib/jsonapi/realizer/error/resource_attribute_not_found.rb', line 8 def realizer @realizer end |
Instance Method Details
#message ⇒ Object
10 11 12 |
# File 'lib/jsonapi/realizer/error/resource_attribute_not_found.rb', line 10 def "#{realizer} doesn't define the attribute #{name}" end |