class Cryptoexchange::Exchanges::Coinmate::Services::Pairs
Public Instance Methods
fetch()
click to toggle source
Calls superclass method
Cryptoexchange::Services::Pairs#fetch
# File lib/cryptoexchange/exchanges/coinmate/services/pairs.rb, line 6 def fetch output = super market_pairs = [] output.each do |pair| market_pairs << Cryptoexchange::Models::MarketPair.new( base: pair[:base], target: pair[:target], market: Coinmate::Market::NAME ) end market_pairs end