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 +4 -4
- data/lib/zuora_api/login.rb +2 -2
- 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: 2fb7b3754e81a0ca4983920194d46bff053ac6bbef40b90cbf73be5104ce5b2b
|
4
|
+
data.tar.gz: 76cb6b338b55068438df2c1474b9d2b713cdcb43eb37afea2c122da98dd4ccc7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f9206168ceec078ecd154cb8498e5ad6d3be46998a0fdfc2802cc88a23b505e058e90b8c61f73afe313f132c4c2ce83268d1d91887f6afb8ec2e03e4bd30a2e9
|
7
|
+
data.tar.gz: 947c38a0da4d5b206c97ffe6bc494b5f607898a0821d821b2bdda868ff52822e72b66205ef2b8d379a4e1ed90b29c5d6982997c571b3a63bb4b587fdfbd1925e
|
data/lib/zuora_api/login.rb
CHANGED
@@ -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': '
|
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
|
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
|
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.11.
|
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:
|
11
|
+
date: 2023-03-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|