zuora_api 1.6.23 → 1.6.24
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/zuora_api/login.rb +1 -2
- 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: 0e792678732a2b9c8f310bd477e3ef460a16a111
|
4
|
+
data.tar.gz: 1a38ef70bf0712f12a60b373f2969411829add8d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3247ad7721eb107c71717abb58b960e944ffa88b8938232d11db00a4d0bb3c3a8ebdac68aa24457ffbb1d38c9c99660cd92e126029fe1f582c149039c81188c2
|
7
|
+
data.tar.gz: a7e425b85d62b0887ecdb2e4f735570d7e4eaa9c11ce8cfee9ef2d212a38d5ef9979d1592bec10aa023cb548b6d3b48645e5994bc3fff5ee492567d26932be97
|
data/lib/zuora_api/login.rb
CHANGED
@@ -485,8 +485,7 @@ module ZuoraAPI
|
|
485
485
|
error = []
|
486
486
|
success = []
|
487
487
|
body.xpath('//ns1:result', 'ns1' =>'http://api.zuora.com/').each_with_index do |call, object_index|
|
488
|
-
|
489
|
-
if call.xpath('./ns1:Success', 'ns1' =>'http://api.zuora.com/').text == 'false'
|
488
|
+
if call.xpath('./ns1:Success', 'ns1' =>'http://api.zuora.com/').text == 'false' && call.xpath('./ns1:Errors', 'ns1' =>'http://api.zuora.com/').size > 0
|
490
489
|
message = "#{call.xpath('./*/ns1:Code', 'ns1' =>'http://api.zuora.com/').text}::#{call.xpath('./*/ns1:Message', 'ns1' =>'http://api.zuora.com/').text}"
|
491
490
|
error.push(message)
|
492
491
|
else
|
data/lib/zuora_api/version.rb
CHANGED