zuora_api 1.4.07 → 1.4.08
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/zuora_api/login.rb +4 -3
- data/lib/zuora_api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4fe43ebde7a9182999d9648cdfadd9f0b99321d5
|
|
4
|
+
data.tar.gz: ad7953d72887cf7fe953d1c9c47a54bfd022c27b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 511725f39fe2ccd481b1e7f805b64a07d360c6ff8e1f7c1500acf9a3512c3d6c9426c98f8fb6bb44c45a4e6cc2e612a5b0778474bf7fee8be23481314a4b6d76
|
|
7
|
+
data.tar.gz: b67a603e0e5399173fb1bd46a2eeb200dd5abbfeec00915bca57c5fbd21f6b897f3ed1d4a1f81779044df3bc11ea5fcf6a05a2462abf055b6631761664ab252c
|
data/Gemfile.lock
CHANGED
data/lib/zuora_api/login.rb
CHANGED
|
@@ -353,11 +353,12 @@ module ZuoraAPI
|
|
|
353
353
|
end
|
|
354
354
|
end
|
|
355
355
|
|
|
356
|
-
if body["Errors"].present?
|
|
356
|
+
if body["Errors"].present? || body["errors"].present?
|
|
357
357
|
errors = []
|
|
358
|
-
body["Errors"].select { |obj| errors.push(obj["Message"]) }.compact
|
|
358
|
+
(body["Errors"] || []).select { |obj| errors.push(obj["Message"]) }.compact
|
|
359
|
+
(body["errors"] || []).select { |obj| errors.push(obj["Message"]) }.compact
|
|
359
360
|
if errors.size > 0
|
|
360
|
-
raise ZuoraAPI::Exceptions::ZuoraAPIError.new("#{errors.join(", ")}")
|
|
361
|
+
raise ZuoraAPI::Exceptions::ZuoraAPIError.new("#{errors.join(", ")}", nil, nil, errors)
|
|
361
362
|
end
|
|
362
363
|
end
|
|
363
364
|
end
|
data/lib/zuora_api/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: zuora_api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.4.
|
|
4
|
+
version: 1.4.08
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Zuora Strategic Solutions Group
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-02-
|
|
11
|
+
date: 2018-02-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|