Class: Cryptoexchange::Exchanges::Coindirect::Market
- Inherits:
-
Models::Market
- Object
- Models::Market
- Cryptoexchange::Exchanges::Coindirect::Market
- Defined in:
- lib/cryptoexchange/exchanges/coindirect/market.rb
Constant Summary collapse
- NAME =
'coindirect'
- API_URL =
'https://api.coindirect.com/api/v1'
Class Method Summary collapse
Class Method Details
.trade_page_url(args = {}) ⇒ Object
7 8 9 10 11 |
# File 'lib/cryptoexchange/exchanges/coindirect/market.rb', line 7 def self.trade_page_url(args = {}) base = args[:base].downcase target = args[:target].downcase "https://exchange.coindirect.com/#{base}-#{target}" end |