Class: Btce::Fee
- Inherits:
-
PublicOperation
- Object
- PublicOperation
- Btce::Fee
- Defined in:
- lib/btce/api/operations/fee.rb
Instance Attribute Summary
Attributes inherited from PublicOperation
#json, #operation, #options, #pair
Instance Method Summary collapse
-
#initialize(pair) ⇒ Fee
constructor
A new instance of Fee.
- #trade ⇒ Object
Methods inherited from PublicOperation
Constructor Details
#initialize(pair) ⇒ Fee
Returns a new instance of Fee.
39 40 41 |
# File 'lib/btce/api/operations/fee.rb', line 39 def initialize(pair) super 'fee', pair end |
Instance Method Details
#trade ⇒ Object
43 44 45 |
# File 'lib/btce/api/operations/fee.rb', line 43 def trade json[pair] end |