Class: Btce::Trades

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

Instance Attribute Summary collapse

Attributes inherited from PublicOperation

#json, #operation, #pair

Instance Method Summary collapse

Methods inherited from PublicOperation

#load_json

Constructor Details

#initialize(pair) ⇒ Trades

Returns a new instance of Trades.



220
221
222
223
# File 'lib/btce.rb', line 220

def initialize(pair)
  super 'trades', pair
  load_trades
end

Instance Attribute Details

#allObject (readonly)

Returns the value of attribute all.



218
219
220
# File 'lib/btce.rb', line 218

def all
  @all
end

Instance Method Details

#[](*rest) ⇒ Object



230
231
232
# File 'lib/btce.rb', line 230

def [] *rest
  all[*rest]
end