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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0a5a699a2b70e14169b32f1cdbbf245c4261b24a
4
- data.tar.gz: 547219eb1aa3f1fb15d69f81c18b74654f751476
3
+ metadata.gz: 0e792678732a2b9c8f310bd477e3ef460a16a111
4
+ data.tar.gz: 1a38ef70bf0712f12a60b373f2969411829add8d
5
5
  SHA512:
6
- metadata.gz: 03371ffc2b01d1f45d06e80bdec51c8cd88f16aa0b0630a8772fd422ac9fd8ac3f2c3461465c3d09b675938016b833a6fc102c5bbc09bd248943043e288f54bf
7
- data.tar.gz: 5cfdbae2494fb619eec597ce3887fa48538622681a417e482215a0a24959e8c06b3a57ef65a648a81395df86e6e78956ba87225879cf9468a78a14db282064c5
6
+ metadata.gz: 3247ad7721eb107c71717abb58b960e944ffa88b8938232d11db00a4d0bb3c3a8ebdac68aa24457ffbb1d38c9c99660cd92e126029fe1f582c149039c81188c2
7
+ data.tar.gz: a7e425b85d62b0887ecdb2e4f735570d7e4eaa9c11ce8cfee9ef2d212a38d5ef9979d1592bec10aa023cb548b6d3b48645e5994bc3fff5ee492567d26932be97
@@ -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
@@ -1,3 +1,3 @@
1
1
  module ZuoraAPI
2
- VERSION = "1.6.23"
2
+ VERSION = "1.6.24"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zuora_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.23
4
+ version: 1.6.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zuora Strategic Solutions Group