zuora_api 1.11.9 → 1.11.10
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 +7 -4
- 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: 16dc8c2867846411498433b6b4815b2db8f2f3981a07595558b14b06e0e15b60
|
4
|
+
data.tar.gz: 173b5b0bedf1220f2fb2b708d3faecc5ab22421dd479711dec5b73976d3ab24b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b24ff60f7601ef8105b3b3cfd454f8af242dd410d2fdd61eac04b8f8127a29ac286762a60eeb07cd609b38693486a7df24e04d381041203f08ab669b4fd591f0
|
7
|
+
data.tar.gz: 90b4d1d49c9276e4f3a1cc9efaf8168575a8f16a66f88722bbbdab03719044a78a2f02887c9cfef7f20c9d31a1c1e4fab9817356d8a0b401532d42234a56e6d8
|
data/lib/zuora_api/login.rb
CHANGED
@@ -6,8 +6,8 @@ require 'zuora_api/exceptions'
|
|
6
6
|
module ZuoraAPI
|
7
7
|
class Login
|
8
8
|
ENVIRONMENTS = [TEST = 'Test', SANDBOX = 'Sandbox', PRODUCTION = 'Production', PREFORMANCE = 'Preformance', SERVICES = 'Services', UNKNOWN = 'Unknown', STAGING = 'Staging' ]
|
9
|
-
REGIONS = [EU = 'EU', US = 'US', NA = 'NA' ]
|
10
|
-
MIN_Endpoints = {'Test': '
|
9
|
+
REGIONS = [EU = 'EU', US = 'US', NA = 'NA', JP = 'JP' ]
|
10
|
+
MIN_Endpoints = {'Test': '140.0', 'Sandbox': '140.0', 'Production': '140.0', 'Performance': '140.0', 'Services': '96.0', 'Unknown': '96.0', 'Staging': '140.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
|
|
@@ -208,7 +208,7 @@ module ZuoraAPI
|
|
208
208
|
end
|
209
209
|
|
210
210
|
def self.regions
|
211
|
-
%w(US EU NA)
|
211
|
+
%w(US EU NA JP)
|
212
212
|
end
|
213
213
|
|
214
214
|
def self.endpoints
|
@@ -227,7 +227,10 @@ module ZuoraAPI
|
|
227
227
|
"Production" => "https://na.zuora.com/apps/services/a/",
|
228
228
|
"Performance" => "https://pt1.na.zuora.com/apps/services/a/",
|
229
229
|
"Services" => "https://services347.na.zuora.com/apps/services/a/",
|
230
|
-
"Test" => "https://test.zuora.com/apps/services/a/"}
|
230
|
+
"Test" => "https://test.zuora.com/apps/services/a/"},
|
231
|
+
"JP" => {"Sandbox" => "https://sandbox.ap.zuora.com/apps/services/a/",
|
232
|
+
"Production" => "https://ap.zuora.com/apps/services/a/",
|
233
|
+
"Test" => "https://test.ap.zuora.com/apps/services/a/"}
|
231
234
|
}
|
232
235
|
end
|
233
236
|
|
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.10
|
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: 2024-03-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|