zuora_api 1.11.3 → 1.11.5

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: 1b383a08604a813b310e04d29529cd74204174f029118adc2fb6bb936a13ead1
4
- data.tar.gz: f3a21f69b691a869b42d25c2f90d21850fba58bf01635f1f426087fe8f607c89
3
+ metadata.gz: 11d987d609bfd085ccf139b863d66a526efda3df111451c7d1400714fc7355a1
4
+ data.tar.gz: 6842ce806646beac07d0ff4a7d65e2b794a6410915a293540e5c28d1d360326a
5
5
  SHA512:
6
- metadata.gz: 4a584619e8a75484942f1aaa696def992a6b9f3f58e194a7729c00775f07aafb512e77f6731328b91455dd431ff3b9cd11f32300f701e9700f7596da5e2e9e39
7
- data.tar.gz: fe8a4777c897e3e96053867a8cd77a1940a4868d39b9660fff230fe832f26f44fc24089f14c680520b4d885c6418f49fe202006e94de45942a6901e758aa025b
6
+ metadata.gz: e517f2637a74f2a8447aa18dbb6350f35cba8bdb9e5ff571510f9d2f95c5c3420cab6506a8ead16e197ae7e9cf9bbe8177f95acdcb95556217a5056ecc20fd98
7
+ data.tar.gz: d00f31ff3f104b7299796ff8ab39942d506dc5cc0d0711ec4baf2324e166c3fd2e3fd42e7fe3411e93893d84c942b45ecae515ca5998ea86df9d4c8b3409dd4d
@@ -7,7 +7,7 @@ module ZuoraAPI
7
7
  class Login
8
8
  ENVIRONMENTS = [TEST = 'Test', SANDBOX = 'Sandbox', PRODUCTION = 'Production', PREFORMANCE = 'Preformance', SERVICES = 'Services', UNKNOWN = 'Unknown', STAGING = 'Staging' ]
9
9
  REGIONS = [EU = 'EU', US = 'US', NA = 'NA' ]
10
- MIN_Endpoints = {'Test': '126.0', 'Sandbox': '126.0', 'Production': '126.0', 'Performance': '126.0', 'Services': '96.0', 'Unknown': '96.0', 'Staging': '127.0'}.freeze
10
+ MIN_Endpoints = {'Test': '133.0', 'Sandbox': '133.0', 'Production': '133.0', 'Performance': '133.0', 'Services': '96.0', 'Unknown': '96.0', 'Staging': '133.0'}.freeze
11
11
  XML_SAVE_OPTIONS = Nokogiri::XML::Node::SaveOptions::AS_XML | Nokogiri::XML::Node::SaveOptions::NO_DECLARATION
12
12
  USER_AGENT = "Zuora#{ENV['Z_APPLICATION_NAME']&.capitalize}/#{ENV['Z_APPLICATION_VERSION']&.delete('v')}"
13
13
 
@@ -865,13 +865,13 @@ module ZuoraAPI
865
865
 
866
866
  if body.class == Hash && body['message'].present?
867
867
  raise ZuoraAPI::Exceptions::ZuoraAPIInternalServerError.new(body['message'], response) if response.code == 500
868
- raise ZuoraAPI::Exceptions::ZuoraAPIError.new(body['message'], response) if ![200,201].include?(response.code)
868
+ raise ZuoraAPI::Exceptions::ZuoraAPIError.new(body['message'], response) if ![200,201,202].include?(response.code)
869
869
  end
870
870
 
871
871
  self.errors_via_content_type(response: response, type: :json)
872
872
 
873
873
  #All other errors
874
- raise ZuoraAPI::Exceptions::ZuoraAPIError.new(response.body, response) if ![200,201].include?(response.code)
874
+ raise ZuoraAPI::Exceptions::ZuoraAPIError.new(response.body, response) if ![200,201,202].include?(response.code)
875
875
  end
876
876
  end
877
877
 
@@ -1,3 +1,3 @@
1
1
  module ZuoraAPI
2
- VERSION = "1.11.3"
2
+ VERSION = "1.11.5"
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.11.3
4
+ version: 1.11.5
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: 2023-01-20 00:00:00.000000000 Z
11
+ date: 2023-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler