zuora_api 0.2.7.3 → 0.2.7.4
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 +1 -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: e6a30798c82256345bc9577a64377bb298272816
|
|
4
|
+
data.tar.gz: db6cda33848f10653d7f4672eed9d74f97aecac1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 25ddd37e0b501bde984fc459c2f460388e09854ad7c989b7a40c6249cda23bb28742d66a2c07dc857d29cc616dc3804004a872b84e70fe57be45cbdae32aa30d
|
|
7
|
+
data.tar.gz: fa1c1d89371b40ab558937778c021505e514a4cd75bb48d234fc439b188e31f63fb11d40d6a07c4cd3941548ec98df908ec7a998de5356b1662035a3dbc11732
|
data/Gemfile.lock
CHANGED
data/lib/zuora_api/login.rb
CHANGED
|
@@ -268,7 +268,7 @@ module ZuoraAPI
|
|
|
268
268
|
Rails.logger.debug('Connect') { response.code} if debug
|
|
269
269
|
output_json = JSON.parse(response.body)
|
|
270
270
|
Rails.logger.debug('Connect') {"Response JSON: #{output_json}"} if debug
|
|
271
|
-
raise ZuoraAPI::Exceptions::ZuoraAPISessionError.new("#{output_json["reasons"][0]["message"]}") if !output_json["success"]
|
|
271
|
+
raise ZuoraAPI::Exceptions::ZuoraAPISessionError.new("#{output_json["reasons"][0]["message"]}") if !output_json["success"] && response.code != 200 && output_json["reasons"][0]["code"] == 90000011
|
|
272
272
|
raise ZuoraAPI::Exceptions::ZuoraAPIError.new("#{output_json["reasons"][0]["code"]}::#{output_json["reasons"][0]["message"]}") if !output_json["success"] || response.code != 200
|
|
273
273
|
rescue ZuoraAPI::Exceptions::ZuoraAPISessionError => ex
|
|
274
274
|
if !(tries -= 1).zero?
|
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: 0.2.7.
|
|
4
|
+
version: 0.2.7.4
|
|
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: 2016-
|
|
11
|
+
date: 2016-12-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|