Class: SimpleJsonApi::Attribute
- Inherits:
-
Struct
- Object
- Struct
- SimpleJsonApi::Attribute
- Defined in:
- lib/simple_json_api.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
28 29 30 |
# File 'lib/simple_json_api.rb', line 28 def key @key end |
#name ⇒ Object
Returns the value of attribute name
28 29 30 |
# File 'lib/simple_json_api.rb', line 28 def name @name end |