zuora_api 1.7.49 → 1.7.50
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/zuora_api/exceptions.rb +3 -3
- data/lib/zuora_api/login.rb +1 -1
- data/lib/zuora_api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e75a6b0ad3f4bc32fb9219d2dc532ae7398c25f86196aee3be552056c16e53d3
|
4
|
+
data.tar.gz: 2db1a25001b11c3700d5c359de840bce013a278c9c9a060498525ecf533e9ddc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac0dcc310f4f701908cb28f898045634290103e4b2cf65299ea6e25bf4e45999ee2577360e6e91a1f0210717f252a493b15ae4497f906c4140d7c9855853b600
|
7
|
+
data.tar.gz: 953b7b1332b0ec5c2f735b9a9b5d6bb247a9784aa28a75a98ef620de1dd2f73c1cec684908d2e3e8bf0707525fae8f8f2642fffea03b1ea96c5e0659cfeca564
|
data/Gemfile.lock
CHANGED
data/lib/zuora_api/exceptions.rb
CHANGED
@@ -11,12 +11,12 @@ module ZuoraAPI
|
|
11
11
|
@message = "The balance of all the invoice items and tax items is 0. No write-off is needed for the invoice."
|
12
12
|
when /^Json input does not match schema. Error(s): string ".*" is too long .*/
|
13
13
|
@message = "Json input does not match schema. Error(s): String is too long."
|
14
|
-
when /^Query failed
|
14
|
+
when /^Query failed \(#[\d\w_]*\): line [0-9]+:[0-9]+: (.*)$/
|
15
15
|
@message = "Query failed: #{$1}"
|
16
|
-
when /^Query failed
|
16
|
+
when /^Query failed \(#[\d\w_]*\): (.*)$/
|
17
17
|
@message = "Query failed: #{$1}"
|
18
18
|
else
|
19
|
-
@message = message
|
19
|
+
@message = message
|
20
20
|
end
|
21
21
|
end
|
22
22
|
end
|
data/lib/zuora_api/login.rb
CHANGED
@@ -706,7 +706,7 @@ module ZuoraAPI
|
|
706
706
|
#Internal Server Error
|
707
707
|
if codes_array.map{|code| code.to_s.slice(6,7).to_i}.include?(60)
|
708
708
|
if messages_array.uniq.size == 1
|
709
|
-
if messages_array.first.match(/^There is an invoice pending tax.*|^The Zuora GetTax call to Avalara.*|^The tax calculation call to Zuora Connect returned the following error: Status Code: 4.*/)
|
709
|
+
if messages_array.first.match(/^Transaction declined.*|^There is an invoice pending tax.*|^The Zuora GetTax call to Avalara.*|^The tax calculation call to Zuora Connect returned the following error: Status Code: 4.*/)
|
710
710
|
raise ZuoraAPI::Exceptions::ZuoraAPIError.new(messages_array.first, response)
|
711
711
|
end
|
712
712
|
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.7.
|
4
|
+
version: 1.7.50
|
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: 2020-02-
|
11
|
+
date: 2020-02-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|