Class: BigcommerceAPI::OptionValue

Inherits:
Resource show all
Defined in:
lib/bigcommerce_api/option_value.rb

Instance Attribute Summary collapse

Attributes inherited from Resource

#errors

Method Summary

Methods inherited from Resource

all, belongs_to, #changed, #create, find, #find_for_reload, has_many, has_one, http_request, #initialize, #mark_dirty!, #parent, #reload, resource, #resource, #resource_url, #save

Methods inherited from Base

#attributes, clean!, date_adjust, #initialize, #store, #time, to_rfc2822

Constructor Details

This class inherits a constructor from BigcommerceAPI::Resource

Instance Attribute Details

#idObject

Returns the value of attribute id.



4
5
6
# File 'lib/bigcommerce_api/option_value.rb', line 4

def id
  @id
end

#labelObject

Returns the value of attribute label.



4
5
6
# File 'lib/bigcommerce_api/option_value.rb', line 4

def label
  @label
end

#option_idObject

Returns the value of attribute option_id.



4
5
6
# File 'lib/bigcommerce_api/option_value.rb', line 4

def option_id
  @option_id
end

#sort_orderObject

Returns the value of attribute sort_order.



4
5
6
# File 'lib/bigcommerce_api/option_value.rb', line 4

def sort_order
  @sort_order
end

#valueObject

Returns the value of attribute value.



4
5
6
# File 'lib/bigcommerce_api/option_value.rb', line 4

def value
  @value
end