Class: MyTradeWizard::Order

Inherits:
Object
  • Object
show all
Defined in:
lib/mytradewizard/order.rb

Instance Attribute Summary collapse

Instance Attribute Details

#actionObject

Returns the value of attribute action.



4
5
6
# File 'lib/mytradewizard/order.rb', line 4

def action
  @action
end

#quantityObject

Returns the value of attribute quantity.



5
6
7
# File 'lib/mytradewizard/order.rb', line 5

def quantity
  @quantity
end

#stockObject

Returns the value of attribute stock.



6
7
8
# File 'lib/mytradewizard/order.rb', line 6

def stock
  @stock
end