Class: Btce::Trades

Inherits:
PublicOperation show all
Defined in:
lib/btce/api/operations/trades.rb

Instance Attribute Summary collapse

Attributes inherited from PublicOperation

#json, #operation, #options, #pair

Instance Method Summary collapse

Methods inherited from PublicOperation

#load_json

Constructor Details

#initialize(pair, options = {}) ⇒ Trades


41
42
43
44
# File 'lib/btce/api/operations/trades.rb', line 41

def initialize(pair, options={})
  super 'trades', pair, options
  load_trades
end

Instance Attribute Details

#allObject (readonly)

Returns the value of attribute all


39
40
41
# File 'lib/btce/api/operations/trades.rb', line 39

def all
  @all
end

Instance Method Details

#[](*rest) ⇒ Object


51
52
53
# File 'lib/btce/api/operations/trades.rb', line 51

def [] *rest
  all[*rest]
end