Class: Nuvemshop::Product

Inherits:
BaseModel show all
Defined in:
lib/nuvemshop/product.rb,
lib/nuvemshop/product/image.rb

Defined Under Namespace

Classes: Image

Instance Attribute Summary collapse

Method Summary

Methods inherited from BaseModel

attr_accessor, attributes, #attributes, #pretty_print

Methods included from Extensions::MassAssignment

#initialize

Instance Attribute Details

#barcodeObject

Returns the value of attribute barcode.



3
4
5
# File 'lib/nuvemshop/product.rb', line 3

def barcode
  @barcode
end

#depthObject

Returns the value of attribute depth.



3
4
5
# File 'lib/nuvemshop/product.rb', line 3

def depth
  @depth
end

#free_shippingObject

Returns the value of attribute free_shipping.



3
4
5
# File 'lib/nuvemshop/product.rb', line 3

def free_shipping
  @free_shipping
end

#heightObject

Returns the value of attribute height.



3
4
5
# File 'lib/nuvemshop/product.rb', line 3

def height
  @height
end

#idObject

Returns the value of attribute id.



3
4
5
# File 'lib/nuvemshop/product.rb', line 3

def id
  @id
end

#imageObject

Returns the value of attribute image.



3
4
5
# File 'lib/nuvemshop/product.rb', line 3

def image
  @image
end

#nameObject

Returns the value of attribute name.



3
4
5
# File 'lib/nuvemshop/product.rb', line 3

def name
  @name
end

#priceObject

Returns the value of attribute price.



3
4
5
# File 'lib/nuvemshop/product.rb', line 3

def price
  @price
end

#product_idObject

Returns the value of attribute product_id.



3
4
5
# File 'lib/nuvemshop/product.rb', line 3

def product_id
  @product_id
end

#propertiesObject

Returns the value of attribute properties.



3
4
5
# File 'lib/nuvemshop/product.rb', line 3

def properties
  @properties
end

#quantityObject

Returns the value of attribute quantity.



3
4
5
# File 'lib/nuvemshop/product.rb', line 3

def quantity
  @quantity
end

#skuObject

Returns the value of attribute sku.



3
4
5
# File 'lib/nuvemshop/product.rb', line 3

def sku
  @sku
end

#variant_idObject

Returns the value of attribute variant_id.



3
4
5
# File 'lib/nuvemshop/product.rb', line 3

def variant_id
  @variant_id
end

#variant_valuesObject

Returns the value of attribute variant_values.



3
4
5
# File 'lib/nuvemshop/product.rb', line 3

def variant_values
  @variant_values
end

#weightObject

Returns the value of attribute weight.



3
4
5
# File 'lib/nuvemshop/product.rb', line 3

def weight
  @weight
end

#widthObject

Returns the value of attribute width.



3
4
5
# File 'lib/nuvemshop/product.rb', line 3

def width
  @width
end