Class: Category
- Inherits:
-
AffiliationApiResource::Resource
- Object
- ApiResource::Resource
- AffiliationApiResource::Resource
- Category
- Defined in:
- lib/affiliation-api-resource/category.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
2 3 4 |
# File 'lib/affiliation-api-resource/category.rb', line 2 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
2 3 4 |
# File 'lib/affiliation-api-resource/category.rb', line 2 def name @name end |