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.



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

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

Instance Attribute Details

#allObject (readonly)

Returns the value of attribute all.



226
227
228
# File 'lib/btce.rb', line 226

def all
  @all
end

Instance Method Details

#[](*rest) ⇒ Object



238
239
240
# File 'lib/btce.rb', line 238

def [] *rest
  all[*rest]
end