Class: BigcommerceAPI::Rule
- Defined in:
- lib/bigcommerce_api/rule.rb
Instance Attribute Summary collapse
-
#conditions ⇒ Object
Returns the value of attribute conditions.
-
#id ⇒ Object
Returns the value of attribute id.
-
#image_file ⇒ Object
Returns the value of attribute image_file.
-
#is_enabled ⇒ Object
Returns the value of attribute is_enabled.
-
#is_purchasing_disabled ⇒ Object
Returns the value of attribute is_purchasing_disabled.
-
#is_purchasing_hidden ⇒ Object
Returns the value of attribute is_purchasing_hidden.
-
#is_stop ⇒ Object
Returns the value of attribute is_stop.
-
#price_adjuster ⇒ Object
Returns the value of attribute price_adjuster.
-
#product_id ⇒ Object
Returns the value of attribute product_id.
-
#purchasing_disabled_message ⇒ Object
Returns the value of attribute purchasing_disabled_message.
-
#sort_order ⇒ Object
Returns the value of attribute sort_order.
-
#weight_adjuster ⇒ Object
Returns the value of attribute weight_adjuster.
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
#conditions ⇒ Object
Returns the value of attribute conditions.
3 4 5 |
# File 'lib/bigcommerce_api/rule.rb', line 3 def conditions @conditions end |
#id ⇒ Object
Returns the value of attribute id.
3 4 5 |
# File 'lib/bigcommerce_api/rule.rb', line 3 def id @id end |
#image_file ⇒ Object
Returns the value of attribute image_file.
3 4 5 |
# File 'lib/bigcommerce_api/rule.rb', line 3 def image_file @image_file end |
#is_enabled ⇒ Object
Returns the value of attribute is_enabled.
3 4 5 |
# File 'lib/bigcommerce_api/rule.rb', line 3 def is_enabled @is_enabled end |
#is_purchasing_disabled ⇒ Object
Returns the value of attribute is_purchasing_disabled.
3 4 5 |
# File 'lib/bigcommerce_api/rule.rb', line 3 def is_purchasing_disabled @is_purchasing_disabled end |
#is_purchasing_hidden ⇒ Object
Returns the value of attribute is_purchasing_hidden.
3 4 5 |
# File 'lib/bigcommerce_api/rule.rb', line 3 def is_purchasing_hidden @is_purchasing_hidden end |
#is_stop ⇒ Object
Returns the value of attribute is_stop.
3 4 5 |
# File 'lib/bigcommerce_api/rule.rb', line 3 def is_stop @is_stop end |
#price_adjuster ⇒ Object
Returns the value of attribute price_adjuster.
3 4 5 |
# File 'lib/bigcommerce_api/rule.rb', line 3 def price_adjuster @price_adjuster end |
#product_id ⇒ Object
Returns the value of attribute product_id.
3 4 5 |
# File 'lib/bigcommerce_api/rule.rb', line 3 def product_id @product_id end |
#purchasing_disabled_message ⇒ Object
Returns the value of attribute purchasing_disabled_message.
3 4 5 |
# File 'lib/bigcommerce_api/rule.rb', line 3 def @purchasing_disabled_message end |
#sort_order ⇒ Object
Returns the value of attribute sort_order.
3 4 5 |
# File 'lib/bigcommerce_api/rule.rb', line 3 def sort_order @sort_order end |
#weight_adjuster ⇒ Object
Returns the value of attribute weight_adjuster.
3 4 5 |
# File 'lib/bigcommerce_api/rule.rb', line 3 def weight_adjuster @weight_adjuster end |