zuora_api 1.11.4 → 1.11.5

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
  SHA256:
3
- metadata.gz: 2fb7b3754e81a0ca4983920194d46bff053ac6bbef40b90cbf73be5104ce5b2b
4
- data.tar.gz: 76cb6b338b55068438df2c1474b9d2b713cdcb43eb37afea2c122da98dd4ccc7
3
+ metadata.gz: 11d987d609bfd085ccf139b863d66a526efda3df111451c7d1400714fc7355a1
4
+ data.tar.gz: 6842ce806646beac07d0ff4a7d65e2b794a6410915a293540e5c28d1d360326a
5
5
  SHA512:
6
- metadata.gz: f9206168ceec078ecd154cb8498e5ad6d3be46998a0fdfc2802cc88a23b505e058e90b8c61f73afe313f132c4c2ce83268d1d91887f6afb8ec2e03e4bd30a2e9
7
- data.tar.gz: 947c38a0da4d5b206c97ffe6bc494b5f607898a0821d821b2bdda868ff52822e72b66205ef2b8d379a4e1ed90b29c5d6982997c571b3a63bb4b587fdfbd1925e
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': '130.0', 'Sandbox': '130.0', 'Production': '130.0', 'Performance': '130.0', 'Services': '96.0', 'Unknown': '96.0', 'Staging': '130.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.4"
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.4
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-03-06 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