Class: Bitstamp::Order

Inherits:
Model
  • Object
show all
Defined in:
lib/bitstamp/orders.rb

Constant Summary collapse

BUY =
0
SELL =
1

Instance Attribute Summary collapse

Method Summary

Methods inherited from Model

#attributes, #attributes=, #initialize

Constructor Details

This class inherits a constructor from Bitstamp::Model

Instance Attribute Details

#amountObject

Returns the value of attribute amount.



27
28
29
# File 'lib/bitstamp/orders.rb', line 27

def amount
  @amount
end

#datetimeObject

Returns the value of attribute datetime.



27
28
29
# File 'lib/bitstamp/orders.rb', line 27

def datetime
  @datetime
end

#errorObject

Returns the value of attribute error.



28
29
30
# File 'lib/bitstamp/orders.rb', line 28

def error
  @error
end

#idObject

Returns the value of attribute id.



27
28
29
# File 'lib/bitstamp/orders.rb', line 27

def id
  @id
end

#messageObject

Returns the value of attribute message.



28
29
30
# File 'lib/bitstamp/orders.rb', line 28

def message
  @message
end

#priceObject

Returns the value of attribute price.



27
28
29
# File 'lib/bitstamp/orders.rb', line 27

def price
  @price
end

#typeObject

Returns the value of attribute type.



27
28
29
# File 'lib/bitstamp/orders.rb', line 27

def type
  @type
end