fastbound-ruby 1.1.9 → 1.1.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fastbound-ruby/response.rb +1 -1
- data/lib/fastbound-ruby/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: dfc2310ac4c9b7478211eb6fcc2f46f4a0ddc48a5cb12dc5f6d795e2167fecf0
|
4
|
+
data.tar.gz: 1dcbf4d3e75f6cd7abd4465da1bb15c138ae189de6d72a890bbc8e398ddd7087
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 306bc8caf74e818e96a453300f8681218e22af34b1b9a87c89a43b2a56cbff890fa5c5ade0c791069109bbbaff6b084596373090b7ba3284b9f377c9719d57af
|
7
|
+
data.tar.gz: fa89195699fa5278e0d6a62494051e74d617c1355483975d1ed78d5c0530237ef73ce8c0ae72f16e46251d796e21d34747653119f5b8717ab0d5290d7e556e24
|
@@ -29,7 +29,7 @@ module FastBound
|
|
29
29
|
end
|
30
30
|
|
31
31
|
error_message = begin
|
32
|
-
JSON.parse(@response.body)['errors'].map { |error| error['message'] }.join('. ')
|
32
|
+
JSON.parse(@response.body)['errors'].map { |error| error['message'].chomp('.') }.join('. ')
|
33
33
|
rescue
|
34
34
|
[@response.message, @response.body].reject(&:blank?).join(" | ")
|
35
35
|
end
|