diff --git a/lib/cryptoexchange.rb b/lib/cryptoexchange.rb index 9b5280ac5..b8687b589 100644 --- a/lib/cryptoexchange.rb +++ b/lib/cryptoexchange.rb @@ -14,6 +14,7 @@ require "cryptoexchange/services/trade_stream" require "cryptoexchange/services/order_book_stream" require "cryptoexchange/services/authentication" +require "cryptoexchange/config" path_files = Dir[File.join(File.dirname(__dir__), 'lib', 'cryptoexchange', '**', '*.rb')] @@ -21,9 +22,8 @@ require_relative path end +Cryptoexchange.reset_config + require "http" require "lru_redux" require "websocket-eventmachine-client" -require "config" - -Cryptoexchange.reset_config diff --git a/lib/config.rb b/lib/cryptoexchange/config.rb similarity index 100% rename from lib/config.rb rename to lib/cryptoexchange/config.rb