Class: Beanie::ProductCategory
- Defined in:
- lib/beanie/product_category.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#parent_category_id ⇒ Object
Returns the value of attribute parent_category_id.
Instance Method Summary collapse
-
#initialize ⇒ ProductCategory
constructor
Initialize instance variables.
Methods inherited from Api
all, build_url, #construct_path, delete, #extract, #field_name, find, get, #object_name, #populate, post, put, #save!, set_headers
Constructor Details
#initialize ⇒ ProductCategory
Initialize instance variables
36 37 38 39 40 41 |
# File 'lib/beanie/product_category.rb', line 36 def initialize @id = nil @description = nil @name = nil @parent_category_id = nil end |
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description.
32 33 34 |
# File 'lib/beanie/product_category.rb', line 32 def description @description end |
#id ⇒ Object
Returns the value of attribute id.
32 33 34 |
# File 'lib/beanie/product_category.rb', line 32 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
32 33 34 |
# File 'lib/beanie/product_category.rb', line 32 def name @name end |
#parent_category_id ⇒ Object
Returns the value of attribute parent_category_id.
32 33 34 |
# File 'lib/beanie/product_category.rb', line 32 def parent_category_id @parent_category_id end |