kounta_rest 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/kounta/rest/client.rb +1 -0
- data/lib/kounta/version.rb +2 -2
- metadata +1 -1
data/lib/kounta/rest/client.rb
CHANGED
@@ -28,6 +28,7 @@ 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: #{response.parsed}")
|
31
32
|
rescue OAuth2::Error => ex
|
32
33
|
if ex.message.include? 'The access token provided has expired'
|
33
34
|
log('oauth2 token expired, refreshing it...')
|
data/lib/kounta/version.rb
CHANGED
@@ -1,3 +1,3 @@
|
|
1
1
|
module Kounta
|
2
|
-
VERSION = "0.0.
|
3
|
-
end
|
2
|
+
VERSION = "0.0.6"
|
3
|
+
end
|