Class: SimpleJsonApi::Attribute
- Inherits:
-
Struct
- Object
- Struct
- SimpleJsonApi::Attribute
- Defined in:
- lib/simple_json_api/attribute.rb
Overview
Attribute
Instance Attribute Summary collapse
-
#key ⇒ Object
Returns the value of attribute key.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Attribute Details
#key ⇒ Object
Returns the value of attribute key
4 5 6 |
# File 'lib/simple_json_api/attribute.rb', line 4 def key @key end |
#name ⇒ Object
Returns the value of attribute name
4 5 6 |
# File 'lib/simple_json_api/attribute.rb', line 4 def name @name end |