Class: Ravelin::Item

Inherits:
RavelinObject show all
Defined in:
lib/ravelin/item.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from RavelinObject

attr_accessor, attr_required, #initialize, required_attributes, #serializable_hash, #validate

Constructor Details

This class inherits a constructor from Ravelin::RavelinObject

Instance Attribute Details

#brandObject

Returns the value of attribute brand.



3
4
5
# File 'lib/ravelin/item.rb', line 3

def brand
  @brand
end

#categoryObject

Returns the value of attribute category.



3
4
5
# File 'lib/ravelin/item.rb', line 3

def category
  @category
end

#currencyObject

Returns the value of attribute currency.



3
4
5
# File 'lib/ravelin/item.rb', line 3

def currency
  @currency
end

#customObject

Returns the value of attribute custom.



3
4
5
# File 'lib/ravelin/item.rb', line 3

def custom
  @custom
end

#nameObject

Returns the value of attribute name.



3
4
5
# File 'lib/ravelin/item.rb', line 3

def name
  @name
end

#priceObject

Returns the value of attribute price.



3
4
5
# File 'lib/ravelin/item.rb', line 3

def price
  @price
end

#quantityObject

Returns the value of attribute quantity.



3
4
5
# File 'lib/ravelin/item.rb', line 3

def quantity
  @quantity
end

#skuObject

Returns the value of attribute sku.



3
4
5
# File 'lib/ravelin/item.rb', line 3

def sku
  @sku
end

#upcObject

Returns the value of attribute upc.



3
4
5
# File 'lib/ravelin/item.rb', line 3

def upc
  @upc
end