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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b9a3a774ddf94c80442415b62de76297845527ee220ba98ae92869ff0d414edc
4
- data.tar.gz: 14c6629671da95b8f390678d643d3d5056518336eea38afda3e57b35229c0089
3
+ metadata.gz: 92d757e8e21ba1cfdcf1a9062e8133c929ae54830edae2b581c6a90d76d46938
4
+ data.tar.gz: 9b24657a2055e829d745008d1f0dfe2e983ac44e53497710ce062ff68e4c4355
5
5
  SHA512:
6
- metadata.gz: 6e3cac72d15eb64797f2ba82ae5cde81c5d0fc814718942d81b634aa2d6cc5d0a3d4cf8d5fda42632e22d9afb9f060df3ba8f86d42e6b9b920cd8854f343e53b
7
- data.tar.gz: 70f4af0eb4261eccd51471302ee4d9770fe46e6640871ef8cd707c198b86d3986b55cdd41e9372710cd285bc564a86f07536df95a1c452f42d8329f5b66ec769
6
+ metadata.gz: 73bff9e8ed288e288ad86955e0960a832d59f7e15fe9e40e240ab317ba249ee892df2266cd857fb8046b464e1cb6dc1b6b840b9f570c96ec06f3d3b877ced883
7
+ data.tar.gz: 59d78716661773967a92304af0d7d932837e044284742b5d2a2bd438715a58008ab7a4a8e8991fb821c61a86d78004d2e216d9242b6ca8c3d50e1fddd0190448
@@ -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)
@@ -1,3 +1,3 @@
1
1
  module ZuoraAPI
2
- VERSION = "1.7.33"
2
+ VERSION = "1.7.34"
3
3
  end
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.33
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-23 00:00:00.000000000 Z
11
+ date: 2019-12-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler