Class: Bitstamp::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.
Method Summary
Methods inherited from Model
#attributes, #attributes=, #initialize
Constructor Details
This class inherits a constructor from Bitstamp::Model
Instance Attribute Details
#amount ⇒ Object
Returns the value of attribute amount.
27 28 29 |
# File 'lib/bitstamp/orders.rb', line 27 def amount @amount end |
#datetime ⇒ Object
Returns the value of attribute datetime.
27 28 29 |
# File 'lib/bitstamp/orders.rb', line 27 def datetime @datetime end |
#error ⇒ Object
Returns the value of attribute error.
28 29 30 |
# File 'lib/bitstamp/orders.rb', line 28 def error @error end |
#id ⇒ Object
Returns the value of attribute id.
27 28 29 |
# File 'lib/bitstamp/orders.rb', line 27 def id @id end |
#message ⇒ Object
Returns the value of attribute message.
28 29 30 |
# File 'lib/bitstamp/orders.rb', line 28 def @message end |
#price ⇒ Object
Returns the value of attribute price.
27 28 29 |
# File 'lib/bitstamp/orders.rb', line 27 def price @price end |
#type ⇒ Object
Returns the value of attribute type.
27 28 29 |
# File 'lib/bitstamp/orders.rb', line 27 def type @type end |