Exception: JSONAPI::Realizer::Error::InvalidDataTypeProperty
- Inherits:
-
JSONAPI::Realizer::Error
- Object
- StandardError
- JSONAPI::Realizer::Error
- JSONAPI::Realizer::Error::InvalidDataTypeProperty
- Defined in:
- lib/jsonapi/realizer/error/invalid_data_type_property.rb
Instance Attribute Summary collapse
-
#given ⇒ Object
Returns the value of attribute given.
Instance Method Summary collapse
Instance Attribute Details
#given ⇒ Object
Returns the value of attribute given.
5 6 7 |
# File 'lib/jsonapi/realizer/error/invalid_data_type_property.rb', line 5 def given @given end |
Instance Method Details
#message ⇒ Object
7 8 9 |
# File 'lib/jsonapi/realizer/error/invalid_data_type_property.rb', line 7 def "root.data property was #{given}, which is not an Hash, Array, or nil" end |