Class: BigcommerceAPI::ProductOption
- Defined in:
- lib/bigcommerce_api/product_option.rb
Instance Attribute Summary collapse
-
#display_name ⇒ Object
Returns the value of attribute display_name.
-
#id ⇒ Object
Returns the value of attribute id.
-
#is_required ⇒ Object
Returns the value of attribute is_required.
-
#option_id ⇒ Object
Returns the value of attribute option_id.
-
#sort_order ⇒ Object
Returns the value of attribute sort_order.
Attributes inherited from Resource
Method Summary
Methods inherited from Resource
all, #assign_attributes, belongs_to, #changed, #create, #delete, find, #find_for_reload, has_many, has_one, http_request, #initialize, #mark_dirty!, #parent, #reload, #resource, resource, #resource_url, #save, #update_attributes
Methods inherited from Base
#attributes, clean!, date_adjust, default_options, #initialize, #store, #time, to_rfc2822
Constructor Details
This class inherits a constructor from BigcommerceAPI::Resource
Instance Attribute Details
#display_name ⇒ Object
Returns the value of attribute display_name.
3 4 5 |
# File 'lib/bigcommerce_api/product_option.rb', line 3 def display_name @display_name end |
#id ⇒ Object
Returns the value of attribute id.
3 4 5 |
# File 'lib/bigcommerce_api/product_option.rb', line 3 def id @id end |
#is_required ⇒ Object
Returns the value of attribute is_required.
3 4 5 |
# File 'lib/bigcommerce_api/product_option.rb', line 3 def is_required @is_required end |
#option_id ⇒ Object
Returns the value of attribute option_id.
3 4 5 |
# File 'lib/bigcommerce_api/product_option.rb', line 3 def option_id @option_id end |
#sort_order ⇒ Object
Returns the value of attribute sort_order.
3 4 5 |
# File 'lib/bigcommerce_api/product_option.rb', line 3 def sort_order @sort_order end |