class Cryptoexchange::Exchanges::Syex::Services::Pairs
Constants
- PAIRS_URL
Public Instance Methods
adapt(output)
click to toggle source
# File lib/cryptoexchange/exchanges/syex/services/pairs.rb, line 11 def adapt(output) output['model'].map do |pair| Cryptoexchange::Models::MarketPair.new( base: pair['defaultenname'], target: Syex::Market::TARGET_SYM, market: Syex::Market::NAME ) end end
fetch()
click to toggle source
Calls superclass method
Cryptoexchange::Services::Pairs#fetch
# File lib/cryptoexchange/exchanges/syex/services/pairs.rb, line 7 def fetch adapt(super) end