Class: Btce::Trades
- Inherits:
-
PublicOperation
- Object
- PublicOperation
- Btce::Trades
- Defined in:
- lib/btce.rb
Instance Attribute Summary collapse
-
#all ⇒ Object
readonly
Returns the value of attribute all.
Attributes inherited from PublicOperation
Instance Method Summary collapse
- #[](*rest) ⇒ Object
-
#initialize(pair) ⇒ Trades
constructor
A new instance of Trades.
Methods inherited from PublicOperation
Constructor Details
#initialize(pair) ⇒ Trades
Returns a new instance of Trades.
200 201 202 203 |
# File 'lib/btce.rb', line 200 def initialize(pair) super 'trades', pair load_trades end |
Instance Attribute Details
#all ⇒ Object (readonly)
Returns the value of attribute all.
198 199 200 |
# File 'lib/btce.rb', line 198 def all @all end |
Instance Method Details
#[](*rest) ⇒ Object
210 211 212 |
# File 'lib/btce.rb', line 210 def [] *rest all[*rest] end |