zuora_api 1.7.33 → 1.7.34
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/zuora_api/login.rb +7 -1
- 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: 92d757e8e21ba1cfdcf1a9062e8133c929ae54830edae2b581c6a90d76d46938
|
4
|
+
data.tar.gz: 9b24657a2055e829d745008d1f0dfe2e983ac44e53497710ce062ff68e4c4355
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 73bff9e8ed288e288ad86955e0960a832d59f7e15fe9e40e240ab317ba249ee892df2266cd857fb8046b464e1cb6dc1b6b840b9f570c96ec06f3d3b877ced883
|
7
|
+
data.tar.gz: 59d78716661773967a92304af0d7d932837e044284742b5d2a2bd438715a58008ab7a4a8e8991fb821c61a86d78004d2e216d9242b6ca8c3d50e1fddd0190448
|
data/lib/zuora_api/login.rb
CHANGED
@@ -35,6 +35,12 @@ module ZuoraAPI
|
|
35
35
|
ZuoraAPI::Exceptions::ZuoraUnexpectedError,
|
36
36
|
ZuoraAPI::Exceptions::ZuoraAPIUnkownError
|
37
37
|
].freeze
|
38
|
+
|
39
|
+
ZUORA_SERVER_ERRORS = [
|
40
|
+
ZuoraAPI::Exceptions::ZuoraAPIInternalServerError,
|
41
|
+
ZuoraAPI::Exceptions::ZuoraAPIConnectionTimeout,
|
42
|
+
ZuoraAPI::Exceptions::ZuoraAPIReadTimeout,
|
43
|
+
].freeze
|
38
44
|
|
39
45
|
attr_accessor :region, :url, :wsdl_number, :current_session, :bearer_token, :oauth_session_expires_at, :environment, :status, :errors, :current_error, :user_info, :tenant_id, :tenant_name, :entity_id, :timeout_sleep, :hostname, :zconnect_provider
|
40
46
|
|
@@ -732,7 +738,7 @@ module ZuoraAPI
|
|
732
738
|
else
|
733
739
|
raise ZuoraAPI::Exceptions::ZuoraAPIError.new(message, response, errors, success)
|
734
740
|
end
|
735
|
-
when /INVALID_ID/, /MAX_RECORDS_EXCEEDED/, /INVALID_FIELD/, /MALFORMED_QUERY/, /NO_PERMISSION/, /PDF_QUERY_ERROR/, /MISSING_REQUIRED_VALUE/, /INVALID_TYPE/, /TRANSACTION_FAILED/
|
741
|
+
when /INVALID_ID/, /MAX_RECORDS_EXCEEDED/, /INVALID_FIELD/, /MALFORMED_QUERY/, /NO_PERMISSION/, /PDF_QUERY_ERROR/, /MISSING_REQUIRED_VALUE/, /INVALID_TYPE/, /TRANSACTION_FAILED/, /API_DISABLED/
|
736
742
|
raise ZuoraAPI::Exceptions::ZuoraAPIError.new(message, response, errors, success)
|
737
743
|
when /.*soapenv:Server.*/
|
738
744
|
raise ZuoraAPI::Exceptions::ZuoraAPIInternalServerError.new("#{error}::#{message}", response, errors, success)
|
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.34
|
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: 2019-12-
|
11
|
+
date: 2019-12-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|