cryptocompare 0.10.0 → 0.15.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,14 +0,0 @@
1
- require 'yaml'
2
-
3
- # Helper module for exchange names.
4
- module Cryptocompare
5
- module ExchangeNameHelper
6
- EXCHANGES = YAML::load_file(File.join(__dir__, '../../../config/exchanges.yml'))
7
-
8
- # Helper method to overcome case-sensitive exchange name enforced by the API.
9
- # If no supported exchange mapping is found, it will try user's input.
10
- def self.set_exchange(exchange)
11
- EXCHANGES[exchange.upcase] || exchange
12
- end
13
- end
14
- end