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.
228 229 230 231 |
# File 'lib/btce.rb', line 228 def initialize(pair) super 'trades', pair load_trades end |
Instance Attribute Details
#all ⇒ Object (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 |