Class: BigcommerceAPI::Option

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

Instance Attribute Summary collapse

Attributes inherited from Resource

#errors

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_nameObject

Returns the value of attribute display_name.



3
4
5
# File 'lib/bigcommerce_api/option.rb', line 3

def display_name
  @display_name
end

#idObject

Returns the value of attribute id.



3
4
5
# File 'lib/bigcommerce_api/option.rb', line 3

def id
  @id
end

#nameObject

Returns the value of attribute name.



3
4
5
# File 'lib/bigcommerce_api/option.rb', line 3

def name
  @name
end

#typeObject

Returns the value of attribute type.



3
4
5
# File 'lib/bigcommerce_api/option.rb', line 3

def type
  @type
end

#values_hashObject

Returns the value of attribute values_hash.



3
4
5
# File 'lib/bigcommerce_api/option.rb', line 3

def values_hash
  @values_hash
end