zuora_api 1.3.9998 → 1.3.9999
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 +6 -1
- 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: 04c2d98024dbb2a8780f809cff50aa60801cbad2
|
|
4
|
+
data.tar.gz: 07cbfbc3165f18fd8a3f7bc3fbf9ef4d482b97ee
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 877d93ac17fc7557db5b1e7918834be543d27c54ae29537c03eda61f0e3d2680ea4e622a0fd2c15c99ab530384a14ca7936f3dfd5b22ef83b6e3105c03654cc1
|
|
7
|
+
data.tar.gz: a2241236f3561c563baf0a97b30d72bf21cdb12171d1d805fabee37f2c061105275c09a7cb1527cbb38b5e348c731b9449fd8118f9639907da75d955fe379aa8
|
data/Gemfile.lock
CHANGED
data/lib/zuora_api/login.rb
CHANGED
|
@@ -310,6 +310,11 @@ module ZuoraAPI
|
|
|
310
310
|
raise ZuoraAPI::Exceptions::ZuoraAPISessionError.new("#{messages_array.join(', ')}")
|
|
311
311
|
end
|
|
312
312
|
|
|
313
|
+
#Zuora REST Create Amendment error #Authentication failed
|
|
314
|
+
if body["faultcode"].present? && body["faultcode"] == "fns:INVALID_SESSION"
|
|
315
|
+
raise ZuoraAPI::Exceptions::ZuoraAPISessionError.new("#{body['faultstring']}")
|
|
316
|
+
end
|
|
317
|
+
|
|
313
318
|
#Request exceeded limit
|
|
314
319
|
if codes_array.map{|code| code.to_s.slice(6,7).to_i}.include?(70)
|
|
315
320
|
raise ZuoraAPI::Exceptions::ZuoraAPIRequestLimit.new("#{messages_array.join(', ')}")
|
|
@@ -326,8 +331,8 @@ module ZuoraAPI
|
|
|
326
331
|
end
|
|
327
332
|
end
|
|
328
333
|
|
|
334
|
+
#Zuora REST Actions error (Create, Update, Delete)
|
|
329
335
|
if body.class == Array && (!body[0]["Success"])
|
|
330
|
-
#Zuora REST Actions error (Create, Update, Delete)
|
|
331
336
|
raise ZuoraAPI::Exceptions::ZuoraAPIError.new("#{body[0]["Errors"][0]["Code"]}::#{body[0]["Errors"][0]["Message"]}")
|
|
332
337
|
end
|
|
333
338
|
|
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.3.
|
|
4
|
+
version: 1.3.9999
|
|
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: 2017-10-
|
|
11
|
+
date: 2017-10-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|