Class: Taxonomy
- Inherits:
-
Struct
- Object
- Struct
- Taxonomy
- Defined in:
- lib/spree_client/models/taxonomy.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id
1 2 3 |
# File 'lib/spree_client/models/taxonomy.rb', line 1 def id @id end |
#name ⇒ Object
Returns the value of attribute name
1 2 3 |
# File 'lib/spree_client/models/taxonomy.rb', line 1 def name @name end |
Instance Method Details
#to_s ⇒ Object
2 3 4 |
# File 'lib/spree_client/models/taxonomy.rb', line 2 def to_s 'taxonomy'.freeze end |