zuora_api 1.7.66j → 1.7.66k
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 +5 -5
- data/lib/zuora_api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7fa1187b824462a04a69aedfa13b20c67727e30a8fccef9a62d7c5b5dde77224
|
|
4
|
+
data.tar.gz: ace9bbb9317ac71fecbff5af4fd24509f9698fcd33db71b3330342a4bca8d1aa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9ac138aec48b305c7d3c972f4b533b6e4ab7ff21e937dc9c79992a23b8480542b7bc25449f90365e59509b239e3fa7bad89248b4273337cb8e9d53d6c782ff8b
|
|
7
|
+
data.tar.gz: 037f86064a5ea3434da2d5256d3652c36567036955ca7ebd1b56f50d86593415f615181d23c322b820506ece425f16b531a551073c6aa1517d4b8b7ee6005336
|
data/lib/zuora_api/login.rb
CHANGED
|
@@ -697,12 +697,12 @@ module ZuoraAPI
|
|
|
697
697
|
).present?
|
|
698
698
|
result = body.xpath('//ns2:Status', 'ns2' => 'http://object.api.zuora.com/').text
|
|
699
699
|
if result == 'Failed'
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
700
|
+
message = body.xpath('//ns2:StatusReason', 'ns2' => 'http://object.api.zuora.com/').text
|
|
701
|
+
error = 'FATAL_ERROR'
|
|
702
|
+
if message.present?
|
|
703
|
+
identifier, new_message = message.scan(/^([\w\d]{16})\: (.*)/).first
|
|
704
|
+
error, message = ['UNEXPECTED_ERROR', new_message] if new_message.present?
|
|
704
705
|
else
|
|
705
|
-
error = 'FATAL_ERROR'
|
|
706
706
|
message = 'Export failed due to unknown reason. Consult api logs.'
|
|
707
707
|
end
|
|
708
708
|
end
|
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.7.
|
|
4
|
+
version: 1.7.66k
|
|
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: 2020-06-
|
|
11
|
+
date: 2020-06-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|