revo-loans_api 0.0.31 → 0.0.32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/revo/loans_api/client.rb +4 -1
- data/lib/revo/loans_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: bc51505cc5bc6d5e0efdb8df780d49a1dba82b0e5998ff9b87e00e2ddaa0476d
|
4
|
+
data.tar.gz: 9c1c58a64051b289aee20b1f675e32dfdde38aadb01139347a7528318a1e5947
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2802a89cdd783f76f8797a5f9c8e709d3ec2c58e07e19288a4c938ddf3dea8d3d70c8820883a6be666147d69d3116a85952a939feb84f5018ee5c51891700595
|
7
|
+
data.tar.gz: f1728842cf8658893351e65c5b652ec5302de928b6bd9ea3d19501cb76465315cd29f738aac42f2a706d861aa7f3a12c5a906cc69c618ad770b4e8fe79c6e058
|
@@ -367,7 +367,10 @@ class Revo::LoansApi::Client
|
|
367
367
|
if response.content_type.mime_type == API_CONTENT_TYPE
|
368
368
|
parse(response)
|
369
369
|
else
|
370
|
-
{
|
370
|
+
{
|
371
|
+
errors: { base: [:unexpected_response] },
|
372
|
+
raw_response: response.to_s.presence
|
373
|
+
}
|
371
374
|
end
|
372
375
|
end
|
373
376
|
|