nowa-top4r 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/top4r/client/base.rb +1 -0
- data/lib/top4r/version.rb +1 -1
- metadata +1 -1
data/lib/top4r/client/base.rb
CHANGED
@@ -80,6 +80,7 @@ class Top4R::Client
|
|
80
80
|
|
81
81
|
def create_http_connection
|
82
82
|
protocol, host, port = (@@config.env == :production ? @@config.protocol : (@@config.env == :staging ? @@config.staging_protocol : @@config.test_protocol)), (@@config.env == :production ? @@config.host : (@@config.env == :staging ? @@config.staging_host : @@config.test_host)), (@@config.env == :production ? @@config.port : (@@config.env == :staging ? @@config.staging_port : @@config.test_port))
|
83
|
+
@@logger.info "Host: #{host}\nPort: #{port}\n"
|
83
84
|
conn = Net::HTTP.new(host, port,
|
84
85
|
@@config.proxy_host, @@config.proxy_port,
|
85
86
|
@@config.proxy_user, @@config.proxy_pass)
|
data/lib/top4r/version.rb
CHANGED