wolf_core 1.0.33 → 1.0.34
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wolf_core/infrastructure/http_operations.rb +5 -1
- data/lib/wolf_core/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: 14ad9d0681cefffdb356424e2c2b642545ecd64838a4c93c8d104f0e0838bf79
|
4
|
+
data.tar.gz: 236c97a9af5813363e5d14b0e1132ccfbb5b0350b221e905f3c2fabf19aab82e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 721ecb28e6c1e7e43ca2b1248808e326b2f7b016d5012369511a96f41711983b93ddf967f60095fba8fc00dc63a7468ab417373ea17172bbff7e90de8d317332
|
7
|
+
data.tar.gz: 7e171af7691d5476b952f7d0cd4c446c2591a9062adc5f3aaffb3b103d0e2fa8676824d6afc387b5b872154c40cd1aaa6711493d0caafe89988d68f06004b768
|
@@ -108,7 +108,11 @@ module WolfCore
|
|
108
108
|
|
109
109
|
def parse_http_response(response)
|
110
110
|
body = begin
|
111
|
-
|
111
|
+
log_object response, title: "response is"
|
112
|
+
log_object response.body, title: "response.body is"
|
113
|
+
res = JSON.parse(response.body)
|
114
|
+
log_object res, title: "res is"
|
115
|
+
res
|
112
116
|
rescue StandardError
|
113
117
|
response.body
|
114
118
|
end
|
data/lib/wolf_core/version.rb
CHANGED