uc3-dmp-external-api 0.0.3 → 0.0.4
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: ea45bcd655de003ed7755e1448102045ed5d31615c9fb527fa02ef8e1e9d6912
|
4
|
+
data.tar.gz: f21f46a94719d54e1654e7d12cfcbf09b42fdaf8f3b0ccf3d1bf2780f3a47f80
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 804960d9db2f1e20051ec8c7e0a0b0ba4f80f02e99ce85033eb67417988a2af5480f6687966368f059c98f9bc357f5f78aa545b260f671799e8276518bd464fb
|
7
|
+
data.tar.gz: 4a8aee1b9e08ca14893232798032cbd9cd2a0b180bc7a9a650765af356becc4eaaa9451ef40e34083aa91fe95bf4678828326e40c29eadb822be62374f8bbee7
|
@@ -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 if
|
46
|
+
return nil if resp.body.nil? || resp.body.empty?
|
47
47
|
|
48
48
|
case resp.headers.fetch('content-type', '')
|
49
49
|
when 'application/json'
|