svix 0.64.0 → 0.65.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/svix/api/authentication_api.rb +4 -4
- data/lib/svix/svix.rb +3 -2
- data/lib/svix/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: 98a2fad59ff26b0991230800248415ec136350710f45b51b45c013e293ccc321
|
4
|
+
data.tar.gz: 99a8fbc197b4583dcc8ade6824cd59f7ebf496a8a1f5b10fbe6d14d41e13de23
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 226762fd40d3959cb7435ac9827b5091fde8ae66ccdab9dd5293cd462677c161bedf39c2bfe6890c4e38f4a7cf55c97112c0636e852dc1e6fbe0ddc75cfb6aed
|
7
|
+
data.tar.gz: d53fd69d31eeb5c4f8aaf1bf5bb3567fca3f374df6a85af057e8c59e27fc5a22eb00d8f5e6a4ad05e7c16c3e3eabde610ae2bd9aae2acf4f293f8dba5f0f7002
|
data/Gemfile.lock
CHANGED
@@ -19,8 +19,8 @@ module Svix
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
|
-
# Get App Portal Access
|
23
|
-
# Use this function to get magic links (and authentication codes) for connecting your users to the Application Portal.
|
22
|
+
# Get Consumer App Portal Access
|
23
|
+
# Use this function to get magic links (and authentication codes) for connecting your users to the Consumer Application Portal.
|
24
24
|
# @param app_id [String]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
26
|
# @option opts [String] :idempotency_key The request's idempotency key
|
@@ -30,8 +30,8 @@ module Svix
|
|
30
30
|
data
|
31
31
|
end
|
32
32
|
|
33
|
-
# Get App Portal Access
|
34
|
-
# Use this function to get magic links (and authentication codes) for connecting your users to the Application Portal.
|
33
|
+
# Get Consumer App Portal Access
|
34
|
+
# Use this function to get magic links (and authentication codes) for connecting your users to the Consumer Application Portal.
|
35
35
|
# @param app_id [String]
|
36
36
|
# @param [Hash] opts the optional parameters
|
37
37
|
# @option opts [String] :idempotency_key The request's idempotency key
|
data/lib/svix/svix.rb
CHANGED
@@ -5,7 +5,7 @@ module Svix
|
|
5
5
|
attr_accessor :debug
|
6
6
|
attr_accessor :server_url
|
7
7
|
|
8
|
-
def initialize(debug = false, server_url =
|
8
|
+
def initialize(debug = false, server_url = nil)
|
9
9
|
@debug=debug
|
10
10
|
@server_url=server_url
|
11
11
|
end
|
@@ -22,7 +22,6 @@ module Svix
|
|
22
22
|
|
23
23
|
def initialize(auth_token, options = SvixOptions.new)
|
24
24
|
|
25
|
-
regional_url = nil
|
26
25
|
region = auth_token.split(".").last
|
27
26
|
if region == "us"
|
28
27
|
regional_url = "https://api.us.svix.com"
|
@@ -30,6 +29,8 @@ module Svix
|
|
30
29
|
regional_url = "https://api.eu.svix.com"
|
31
30
|
elsif region == "in"
|
32
31
|
regional_url = "https://api.in.svix.com"
|
32
|
+
else
|
33
|
+
regional_url = "https://api.svix.com"
|
33
34
|
end
|
34
35
|
|
35
36
|
uri = URI(options.server_url || regional_url)
|
data/lib/svix/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: svix
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.65.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Svix
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-08-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|