zuora_api 0.2.7.5 → 0.2.7.6
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 +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 84fd5941e62ad3400ccd60635898aff35990d673
|
4
|
+
data.tar.gz: 364f7c84655db5beb5753d90d92bf438650109c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1a667d217f5a8f408a57ce06f11114c019722a1d91b5bb108e1dba121623c973ed1409e7205e74ce334bc0b7152e775785e5f95c25237149f9f06e5702dc37bd
|
7
|
+
data.tar.gz: 259382e10bcd9fb3bd14ae971c89f52315588b90df06ac6fb78a6f071554b77594ead5239f2f947db1afd3a5d9161b26a6c179334adf1b35b90cbcbf16314c46
|
data/Gemfile.lock
CHANGED
data/lib/zuora_api/login.rb
CHANGED
@@ -269,7 +269,7 @@ module ZuoraAPI
|
|
269
269
|
output_json = JSON.parse(response.body)
|
270
270
|
Rails.logger.debug('Connect') {"Response JSON: #{output_json}"} if debug
|
271
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
|
-
raise ZuoraAPI::Exceptions::ZuoraAPIError.new("#{output_json["reasons"][0]["code"]}::#{output_json["reasons"][0]["message"]}") if !output_json["success"] || response.code != 200
|
272
|
+
raise ZuoraAPI::Exceptions::ZuoraAPIError.new("#{output_json["reasons"][0]["code"]}::#{output_json["reasons"][0]["message"]}") if !output_json["success"] || !output_json["done"] || response.code != 200
|
273
273
|
rescue ZuoraAPI::Exceptions::ZuoraAPISessionError => ex
|
274
274
|
if !(tries -= 1).zero?
|
275
275
|
Rails.logger.debug {"Session Invalid"}
|
data/lib/zuora_api/version.rb
CHANGED