Class: Vvm::Model::Product
- Inherits:
-
Struct
- Object
- Struct
- Vvm::Model::Product
- Defined in:
- lib/vvm/model/product.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#price ⇒ Object
Returns the value of attribute price.
-
#qty ⇒ Object
Returns the value of attribute qty.
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name
5 6 7 |
# File 'lib/vvm/model/product.rb', line 5 def name @name end |
#price ⇒ Object
Returns the value of attribute price
5 6 7 |
# File 'lib/vvm/model/product.rb', line 5 def price @price end |
#qty ⇒ Object
Returns the value of attribute qty
5 6 7 |
# File 'lib/vvm/model/product.rb', line 5 def qty @qty end |