Class: Vvm::Model::Product

Inherits:
Struct
  • Object
show all
Defined in:
lib/vvm/model/product.rb

Instance Attribute Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



5
6
7
# File 'lib/vvm/model/product.rb', line 5

def name
  @name
end

#priceObject

Returns the value of attribute price

Returns:

  • (Object)

    the current value of price



5
6
7
# File 'lib/vvm/model/product.rb', line 5

def price
  @price
end

#qtyObject

Returns the value of attribute qty

Returns:

  • (Object)

    the current value of qty



5
6
7
# File 'lib/vvm/model/product.rb', line 5

def qty
  @qty
end