zuora_api 1.11.15 → 1.12.0

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: 46b4dd375f97caff0340a57806d979dd2b1a824126d1a9afe5fb8144dffde32a
4
- data.tar.gz: a37ea54e273f371a82777d233bd4c4880fb97b015bd050c7fad137850feb25ae
3
+ metadata.gz: ff929bd4b2376d0c7985de5e833e7ce2407b44caaa0ab495802b26f30615c38e
4
+ data.tar.gz: 9abdf198ed41321ed56480bbadbb016fc76945106841152dbc030fb1c10318cd
5
5
  SHA512:
6
- metadata.gz: deee969b86a71fa6bd6e7ae87ef77a3bf9bfe9f8f909c09caec4650ec718887ad40439733195b5fe74a4ab0f29ce4812daacb2d5c682ec684ac6f29fd698611d
7
- data.tar.gz: 5add28053313c94f0655509aae00063e3040783c396a5a28254e1fc50824762ef58d90ae617f928c90f52e1ebd0a3ada3dfaeaee9e35f22799cc8a59248024cb
6
+ metadata.gz: 48506d21842612df46847fc3ec2ac35da63e25b68244102ed43dc1a749d704af5ec7735ee9727b0ed1dbf533f9f9c50ab00e0badf309c54089bb44afe278f51c
7
+ data.tar.gz: e847be40cdd8d7b73d9850ab5e9c96e762f6cbcefa141c1fcc01737150e0a89bcfec32353933b2c472774493d614b625d1f0aa56f65886a604676f19092a7f2a
@@ -5,9 +5,9 @@ require 'zuora_api/exceptions'
5
5
 
6
6
  module ZuoraAPI
7
7
  class Login
8
- ENVIRONMENTS = [TEST = 'Test', SANDBOX = 'Sandbox', PRODUCTION = 'Production', PREFORMANCE = 'Preformance', SERVICES = 'Services', UNKNOWN = 'Unknown', STAGING = 'Staging' ]
8
+ ENVIRONMENTS = [TEST = 'Test', SANDBOX = 'Sandbox', PRODUCTION = 'Production', PREFORMANCE = 'Preformance', SERVICES = 'Services', UNKNOWN = 'Unknown', STAGING = 'Staging', PREPROD='Preprod' ]
9
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
10
+ MIN_Endpoints = {'Test': '140.0', 'Sandbox': '140.0', 'Production': '140.0', 'Performance': '140.0', 'Services': '96.0', 'Unknown': '96.0', 'Staging': '140.0', 'Preprod': '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
 
@@ -207,7 +207,7 @@ module ZuoraAPI
207
207
  end
208
208
 
209
209
  def self.environments
210
- %w(Sandbox Production Services Performance Staging Test)
210
+ %w(Sandbox Production Services Performance Staging Test Preprod)
211
211
  end
212
212
 
213
213
  def self.regions
@@ -220,7 +220,8 @@ module ZuoraAPI
220
220
  "Performance" => "https://pt1.zuora.com/apps/services/a/",
221
221
  "Services" => "https://services347.zuora.com/apps/services/a/",
222
222
  "Staging" => "https://staging2.zuora.com/apps/services/a/",
223
- "Test" => "https://test.zuora.com/apps/services/a/"},
223
+ "Test" => "https://test.zuora.com/apps/services/a/",
224
+ "Preprod" => "https://preprod.zuora.com/apps/services/a/"},
224
225
  "EU" => {"Sandbox" => "https://sandbox.eu.zuora.com/apps/services/a/",
225
226
  "Production" => "https://eu.zuora.com/apps/services/a/",
226
227
  "Performance" => "https://pt1.eu.zuora.com/apps/services/a/",
@@ -230,7 +231,8 @@ module ZuoraAPI
230
231
  "Production" => "https://na.zuora.com/apps/services/a/",
231
232
  "Performance" => "https://pt1.na.zuora.com/apps/services/a/",
232
233
  "Services" => "https://services347.na.zuora.com/apps/services/a/",
233
- "Test" => "https://test.zuora.com/apps/services/a/"},
234
+ "Test" => "https://test.zuora.com/apps/services/a/",
235
+ "Preprod" => "https://preprod.zuora.com/apps/services/a/"},
234
236
  "JP" => {"Sandbox" => "https://sandbox.ap.zuora.com/apps/services/a/",
235
237
  "Production" => "https://ap.zuora.com/apps/services/a/",
236
238
  "Test" => "https://test.ap.zuora.com/apps/services/a/"}
@@ -333,7 +335,7 @@ module ZuoraAPI
333
335
  endpoint = "#{https}rest#{host}"
334
336
  when 'Staging'
335
337
  endpoint = "https://rest-staging2.zuora.com"
336
- when 'preprod'
338
+ when 'Preprod'
337
339
  endpoint = "https://rest.preprod.zuora.com"
338
340
  when 'Unknown'
339
341
  raise "Environment unknown, returning passed in parameter unaltered"
@@ -1,3 +1,3 @@
1
1
  module ZuoraAPI
2
- VERSION = "1.11.15"
2
+ VERSION = "1.12.0"
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.15
4
+ version: 1.12.0
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: 2024-10-24 00:00:00.000000000 Z
11
+ date: 2024-10-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler