apitool-client 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/apitool/client/apitool_client.rb +1 -1
- data/lib/apitool/client/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c7f0ceb4e1b3b73014303266288e09799e21a0e2
|
4
|
+
data.tar.gz: 63ec9ff5bd01230f15a4f53b8cffb020c8b7208b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e821ded86c5c8a63a752724316738e8012a7644df72abd7963ca7e9c64b8f9ad332c610833724a52945853ec09b53c60b80dd33558d89659de62b346790dbb83
|
7
|
+
data.tar.gz: 99448657fe92f97e964275aad2fd38900a795698eb0676378346f0274fceaf1744603697a9316ec134d1f264e8995b961abef37ff9c57739cc94329107692af6
|
@@ -77,7 +77,7 @@ private
|
|
77
77
|
@result = _result
|
78
78
|
|
79
79
|
log = "#{result} - #{request[:method].upcase} - #{request[:url]} - payload[#{request[:payload] || ''}]"
|
80
|
-
if response.present? and (response.kind_of? Array and response[0].has_key?(:message)) || (response.has_key?(:errors))
|
80
|
+
if response.present? and (response.kind_of? Array and response[0].has_key?(:message)) || (response.kind_of? Hash and response.has_key?(:errors))
|
81
81
|
log = log + " - error['#{response.inspect}']"
|
82
82
|
end
|
83
83
|
logger.info log
|