wework 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wework/request.rb +1 -1
- data/lib/wework/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c4a4454feadfb1cadf33e0431610e3a140ef18dec8b5671c690e95f4a5c19e42
|
4
|
+
data.tar.gz: a433e6117c9ce4b27962cfc455c62c26d0a972aa243446ccbdbf9fb31cc1da4b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 754f7a608454a16aed92bb900d1be56ce8f660cc0bba8d7287209e0aa20676f67efe6071b377ae6e524d58047b44431f9bb084e01aa480932805196aa5edf7c4
|
7
|
+
data.tar.gz: 65f9f9525fd2796fe43a56a0eb447e5b1dbf5c4fab55fe692e5c2d2486feb75cf3a00ec99b41e12f5d4bcf974ad1ce84a890db2417855342afbafa3c3e5a4ede
|
data/lib/wework/request.rb
CHANGED
@@ -52,7 +52,7 @@ module Wework
|
|
52
52
|
parse_response(response, as || :json) do |parse_as, data|
|
53
53
|
break data unless parse_as == :json
|
54
54
|
result = Wework::Result.new(data)
|
55
|
-
|
55
|
+
Rails.logger.debug "[WEWORK] request path(#{url_base}#{path}): #{result.inspect}" if defined?(Rails.logger) && Rails.logger
|
56
56
|
raise AccessTokenExpiredError if result.token_expired?
|
57
57
|
result
|
58
58
|
end
|
data/lib/wework/version.rb
CHANGED