Module: Cryptowatch::Pairs

Defined in:
lib/cryptowatch/business/pairs.rb

Constant Summary collapse

API_URL =
"#{Api::API_BASE_URL}/pairs"

Class Method Summary collapse

Class Method Details

.indexObject



13
14
15
# File 'lib/cryptowatch/business/pairs.rb', line 13

def self.index
  return API_URL
end

.pair(pair) ⇒ Object



17
18
19
# File 'lib/cryptowatch/business/pairs.rb', line 17

def self.pair(pair)
  return Api::format_url(API_URL, pair)
end