uc3-dmp-external-api 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/uc3-dmp-external-api/client.rb +1 -1
- data/lib/uc3-dmp-external-api/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: 826e2cdf3096a05d02e92ce7f199af95a9e4159e7e160e2218b459f434594844
|
4
|
+
data.tar.gz: 7b6f4d76f204b2524ac26cae806a003ac40b4ca7c90e2d29e6f0d711a925fd59
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b03219d46beeff3aa482b5acfc6ff7fb4628bf3f0f9e3da7dd0f84835f466c874222d92f4ef42b4eb3faf751ead505dba3c2218bb3f442d478433f2c1ee13ef6
|
7
|
+
data.tar.gz: ce81e722cc81f3862dba8cdbdc814b6d5bd21ad39a8c4c24a6fad25aab740e091a7c7f025b2d0b958cd7ef421685c619ddca572f22c40362490d848ded899f14
|
@@ -43,7 +43,7 @@ module Uc3DmpExternalApi
|
|
43
43
|
|
44
44
|
# # Handle the response body based on the Content-Type
|
45
45
|
def _process_response(resp:)
|
46
|
-
return nil
|
46
|
+
return nil if response.body.nil? || response.body.empty?
|
47
47
|
|
48
48
|
case resp.headers.fetch('content-type', '')
|
49
49
|
when 'application/json'
|