kounta_rest 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/kounta/rest/client.rb +2 -1
- data/lib/kounta/version.rb +1 -1
- metadata +1 -1
data/lib/kounta/rest/client.rb
CHANGED
@@ -28,7 +28,8 @@ module Kounta
|
|
28
28
|
begin
|
29
29
|
log("#{request_method}: #{Kounta::SITE_URI}#{path_from_hash(url_hash)}.#{FORMAT.to_s} (#{options})")
|
30
30
|
response = @conn.request(request_method, "#{path_from_hash(url_hash)}.#{FORMAT.to_s}", options)
|
31
|
-
log("response:
|
31
|
+
log("response:")
|
32
|
+
log("#{response.parsed}")
|
32
33
|
rescue OAuth2::Error => ex
|
33
34
|
if ex.message.include? 'The access token provided has expired'
|
34
35
|
log('oauth2 token expired, refreshing it...')
|
data/lib/kounta/version.rb
CHANGED