Class: Nuvemshop::Product
- Defined in:
- lib/nuvemshop/product.rb,
lib/nuvemshop/product/image.rb
Defined Under Namespace
Classes: Image
Instance Attribute Summary collapse
-
#barcode ⇒ Object
Returns the value of attribute barcode.
-
#depth ⇒ Object
Returns the value of attribute depth.
-
#free_shipping ⇒ Object
Returns the value of attribute free_shipping.
-
#height ⇒ Object
Returns the value of attribute height.
-
#id ⇒ Object
Returns the value of attribute id.
-
#image ⇒ Object
Returns the value of attribute image.
-
#name ⇒ Object
Returns the value of attribute name.
-
#price ⇒ Object
Returns the value of attribute price.
-
#product_id ⇒ Object
Returns the value of attribute product_id.
-
#properties ⇒ Object
Returns the value of attribute properties.
-
#quantity ⇒ Object
Returns the value of attribute quantity.
-
#sku ⇒ Object
Returns the value of attribute sku.
-
#variant_id ⇒ Object
Returns the value of attribute variant_id.
-
#variant_values ⇒ Object
Returns the value of attribute variant_values.
-
#weight ⇒ Object
Returns the value of attribute weight.
-
#width ⇒ Object
Returns the value of attribute width.
Method Summary
Methods inherited from BaseModel
attr_accessor, attributes, #attributes, #pretty_print
Methods included from Extensions::MassAssignment
Instance Attribute Details
#barcode ⇒ Object
Returns the value of attribute barcode.
3 4 5 |
# File 'lib/nuvemshop/product.rb', line 3 def @barcode end |
#depth ⇒ Object
Returns the value of attribute depth.
3 4 5 |
# File 'lib/nuvemshop/product.rb', line 3 def depth @depth end |
#free_shipping ⇒ Object
Returns the value of attribute free_shipping.
3 4 5 |
# File 'lib/nuvemshop/product.rb', line 3 def free_shipping @free_shipping end |
#height ⇒ Object
Returns the value of attribute height.
3 4 5 |
# File 'lib/nuvemshop/product.rb', line 3 def height @height end |
#id ⇒ Object
Returns the value of attribute id.
3 4 5 |
# File 'lib/nuvemshop/product.rb', line 3 def id @id end |
#image ⇒ Object
Returns the value of attribute image.
3 4 5 |
# File 'lib/nuvemshop/product.rb', line 3 def image @image end |
#name ⇒ Object
Returns the value of attribute name.
3 4 5 |
# File 'lib/nuvemshop/product.rb', line 3 def name @name end |
#price ⇒ Object
Returns the value of attribute price.
3 4 5 |
# File 'lib/nuvemshop/product.rb', line 3 def price @price end |
#product_id ⇒ Object
Returns the value of attribute product_id.
3 4 5 |
# File 'lib/nuvemshop/product.rb', line 3 def product_id @product_id end |
#properties ⇒ Object
Returns the value of attribute properties.
3 4 5 |
# File 'lib/nuvemshop/product.rb', line 3 def properties @properties end |
#quantity ⇒ Object
Returns the value of attribute quantity.
3 4 5 |
# File 'lib/nuvemshop/product.rb', line 3 def quantity @quantity end |
#sku ⇒ Object
Returns the value of attribute sku.
3 4 5 |
# File 'lib/nuvemshop/product.rb', line 3 def sku @sku end |
#variant_id ⇒ Object
Returns the value of attribute variant_id.
3 4 5 |
# File 'lib/nuvemshop/product.rb', line 3 def variant_id @variant_id end |
#variant_values ⇒ Object
Returns the value of attribute variant_values.
3 4 5 |
# File 'lib/nuvemshop/product.rb', line 3 def variant_values @variant_values end |
#weight ⇒ Object
Returns the value of attribute weight.
3 4 5 |
# File 'lib/nuvemshop/product.rb', line 3 def weight @weight end |
#width ⇒ Object
Returns the value of attribute width.
3 4 5 |
# File 'lib/nuvemshop/product.rb', line 3 def width @width end |