Class: Bitso::Order
Constant Summary collapse
- BUY =
0
- SELL =
1
Instance Attribute Summary collapse
-
#amount ⇒ Object
Returns the value of attribute amount.
-
#datetime ⇒ Object
Returns the value of attribute datetime.
-
#error ⇒ Object
Returns the value of attribute error.
-
#id ⇒ Object
Returns the value of attribute id.
-
#message ⇒ Object
Returns the value of attribute message.
-
#price ⇒ Object
Returns the value of attribute price.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
Methods inherited from Model
#attributes, #attributes=, #initialize
Constructor Details
This class inherits a constructor from Bitso::Model
Instance Attribute Details
#amount ⇒ Object
Returns the value of attribute amount.
34 35 36 |
# File 'lib/bitso/orders.rb', line 34 def amount @amount end |
#datetime ⇒ Object
Returns the value of attribute datetime.
34 35 36 |
# File 'lib/bitso/orders.rb', line 34 def datetime @datetime end |
#error ⇒ Object
Returns the value of attribute error.
35 36 37 |
# File 'lib/bitso/orders.rb', line 35 def error @error end |
#id ⇒ Object
Returns the value of attribute id.
34 35 36 |
# File 'lib/bitso/orders.rb', line 34 def id @id end |
#message ⇒ Object
Returns the value of attribute message.
35 36 37 |
# File 'lib/bitso/orders.rb', line 35 def @message end |
#price ⇒ Object
Returns the value of attribute price.
34 35 36 |
# File 'lib/bitso/orders.rb', line 34 def price @price end |
#type ⇒ Object
Returns the value of attribute type.
34 35 36 |
# File 'lib/bitso/orders.rb', line 34 def type @type end |