nowa-top4r 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/top4r/client/base.rb +2 -2
- data/lib/top4r/version.rb +1 -1
- metadata +1 -1
data/lib/top4r/client/base.rb
CHANGED
@@ -34,7 +34,7 @@ class Top4R::Client
|
|
34
34
|
# puts "conn: #{connection.inspect}"
|
35
35
|
# puts "request: #{request.inspect}"
|
36
36
|
response = connection.request(request, body)
|
37
|
-
|
37
|
+
@@logger.info "response: #{response.body}"
|
38
38
|
handle_rest_response(response)
|
39
39
|
response
|
40
40
|
end
|
@@ -121,7 +121,7 @@ class Top4R::Client
|
|
121
121
|
uri = @@config.env == :production ? @@config.rest_uri : @@config.test_rest_uri
|
122
122
|
params = append_top_params(params.merge({:method => method}))
|
123
123
|
path = (params.size > 0) ? "#{uri}?#{params.to_http_str}" : uri
|
124
|
-
|
124
|
+
@@logger.info "path: #{path}"
|
125
125
|
Net::HTTP::Get.new(path, http_header)
|
126
126
|
end
|
127
127
|
|
data/lib/top4r/version.rb
CHANGED