zuora_api 1.11.2 → 1.11.4

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: 1377cfe445b9ff82e0504e86ef89413c815b4250152769ec11bf6b7b8804cdd9
4
- data.tar.gz: 9882ca98957ecf177985037124f9e77722fe9c1eeea430f8c5f632fc4327162c
3
+ metadata.gz: 2fb7b3754e81a0ca4983920194d46bff053ac6bbef40b90cbf73be5104ce5b2b
4
+ data.tar.gz: 76cb6b338b55068438df2c1474b9d2b713cdcb43eb37afea2c122da98dd4ccc7
5
5
  SHA512:
6
- metadata.gz: 5043d898c8ec80517f01bd65daf031880aa4ab91e14669eedece02be8dab5c7b895abeb8d48330c89a9159875f8a9418adb2db2b3017bfe5b698100bb3035183
7
- data.tar.gz: 85ca8f78f0807ed8c7533e612a0816dcbdf52ec71131c1c122cc110e89898c0dfbe69d560e5130e50f438bced5235331ee4590af12912248319bddfae52cc376
6
+ metadata.gz: f9206168ceec078ecd154cb8498e5ad6d3be46998a0fdfc2802cc88a23b505e058e90b8c61f73afe313f132c4c2ce83268d1d91887f6afb8ec2e03e4bd30a2e9
7
+ data.tar.gz: 947c38a0da4d5b206c97ffe6bc494b5f607898a0821d821b2bdda868ff52822e72b66205ef2b8d379a4e1ed90b29c5d6982997c571b3a63bb4b587fdfbd1925e
@@ -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': '130.0', 'Sandbox': '130.0', 'Production': '130.0', 'Performance': '130.0', 'Services': '96.0', 'Unknown': '96.0', 'Staging': '130.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
 
@@ -765,7 +765,7 @@ module ZuoraAPI
765
765
  if body['path'] == '/oauth/token'
766
766
  if body['status'] == 403 && response.code == 403
767
767
  raise ZuoraAPI::Exceptions::ZuoraAPISessionError.new("Forbidden", response)
768
- elsif body['status'] == 400 && response.code == 400 && body['message'].include?("Invalid client id")
768
+ elsif body['status'] == 400 && response.code == 400
769
769
  raise ZuoraAPI::Exceptions::ZuoraAPISessionError.new("Invalid Oauth Client Id", response)
770
770
  end
771
771
  end
@@ -1,3 +1,3 @@
1
1
  module ZuoraAPI
2
- VERSION = "1.11.2"
2
+ VERSION = "1.11.4"
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.2
4
+ version: 1.11.4
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: 2022-10-03 00:00:00.000000000 Z
11
+ date: 2023-03-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler