zuora_api 1.6.22 → 1.6.23
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/lib/insights_api/login.rb +1 -1
- data/lib/zuora_api/login.rb +6 -0
- 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: 0a5a699a2b70e14169b32f1cdbbf245c4261b24a
|
4
|
+
data.tar.gz: 547219eb1aa3f1fb15d69f81c18b74654f751476
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 03371ffc2b01d1f45d06e80bdec51c8cd88f16aa0b0630a8772fd422ac9fd8ac3f2c3461465c3d09b675938016b833a6fc102c5bbc09bd248943043e288f54bf
|
7
|
+
data.tar.gz: 5cfdbae2494fb619eec597ce3887fa48538622681a417e482215a0a24959e8c06b3a57ef65a648a81395df86e6e78956ba87225879cf9468a78a14db282064c5
|
data/lib/insights_api/login.rb
CHANGED
data/lib/zuora_api/login.rb
CHANGED
@@ -505,6 +505,12 @@ module ZuoraAPI
|
|
505
505
|
raise ZuoraAPI::Exceptions::ZuoraAPIRequestLimit.new("#{error}::#{message}", body, response.code)
|
506
506
|
when "LOCK_COMPETITION"
|
507
507
|
raise ZuoraAPI::Exceptions::ZuoraAPILockCompetition.new("#{error}::#{message}", body, response.code)
|
508
|
+
when "BATCH_FAIL_ERROR"
|
509
|
+
if message.include?("optimistic locking failed")
|
510
|
+
raise ZuoraAPI::Exceptions::ZuoraAPILockCompetition.new("#{error}::#{message}", body, response.code)
|
511
|
+
else
|
512
|
+
raise ZuoraAPI::Exceptions::ZuoraAPIError.new("#{error}::#{message}", body, response.code)
|
513
|
+
end
|
508
514
|
when "TEMPORARY_ERROR"
|
509
515
|
raise ZuoraAPI::Exceptions::ZuoraAPITemporaryError.new("#{error}::#{message}", body, response.code)
|
510
516
|
else
|
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.6.
|
4
|
+
version: 1.6.23
|
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: 2019-01-
|
11
|
+
date: 2019-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|