Class: SimpleJsonApi::Association
- Inherits:
-
Struct
- Object
- Struct
- SimpleJsonApi::Association
- Defined in:
- lib/simple_json_api.rb
Overview
Wrapper for a linked association
Instance Attribute Summary collapse
-
#key ⇒ Object
Returns the value of attribute key.
-
#name ⇒ Object
Returns the value of attribute name.
-
#polymorphic ⇒ Object
Returns the value of attribute polymorphic.
-
#serializer ⇒ Object
Returns the value of attribute serializer.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Attribute Details
#key ⇒ Object
Returns the value of attribute key
20 21 22 |
# File 'lib/simple_json_api.rb', line 20 def key @key end |
#name ⇒ Object
Returns the value of attribute name
20 21 22 |
# File 'lib/simple_json_api.rb', line 20 def name @name end |
#polymorphic ⇒ Object
Returns the value of attribute polymorphic
20 21 22 |
# File 'lib/simple_json_api.rb', line 20 def polymorphic @polymorphic end |
#serializer ⇒ Object
Returns the value of attribute serializer
20 21 22 |
# File 'lib/simple_json_api.rb', line 20 def serializer @serializer end |
#type ⇒ Object
Returns the value of attribute type
20 21 22 |
# File 'lib/simple_json_api.rb', line 20 def type @type end |