Class: Mcoin::Market::Kraken
Overview
:nodoc:
Constant Summary collapse
- ENDPOINT =
rubocop:disable Metrics/LineLength
'https://api.kraken.com/0/public/Ticker?pair=%<type>s%<currency>s'
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#establish_connection, #fetch, #initialize, #name, #to_ticker
Constructor Details
This class inherits a constructor from Mcoin::Market::Base
Instance Method Details
#watch(type, currency) ⇒ Object
10 11 12 13 |
# File 'lib/mcoin/market/kraken.rb', line 10 def watch(type, currency) type = swap_btc(type.to_s.upcase) super end |