Module: Cryptowatch::Exchanges
- Defined in:
- lib/cryptowatch/business/exchanges.rb
Constant Summary collapse
- API_URL =
"#{Api::API_BASE_URL}/exchanges"
Class Method Summary collapse
Class Method Details
.exchange(exchange) ⇒ Object
17 18 19 |
# File 'lib/cryptowatch/business/exchanges.rb', line 17 def self.exchange(exchange) return Api::format_url(API_URL, exchange) end |
.index ⇒ Object
13 14 15 |
# File 'lib/cryptowatch/business/exchanges.rb', line 13 def self.index return API_URL end |