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