Module: Cryptowatch::Api

Defined in:
lib/cryptowatch.rb,
lib/cryptowatch/api/api.rb,
lib/cryptowatch/version.rb

Constant Summary collapse

API_BASE_URL =
"https://api.cryptowat.ch"
VERSION =
[0, 0, 3]
VERSION_FORMAT =
VERSION.join('.')

Class Method Summary collapse

Class Method Details

.format_url(*args) ⇒ Object



13
14
15
16
# File 'lib/cryptowatch/api/api.rb', line 13

def self.format_url(*args)
  args -= [nil]
  return args.join'/'
end