svix 0.64.1 → 0.65.1
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: 4b56665c0f45462010d249411167386943b4b36268e012b95f07d07e5f0d9f27
|
4
|
+
data.tar.gz: 8c372fdae859eb4f0f7304a2c52a7667b36cd9dee2c9e86d4f2bbd4a7b6656e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e5044be394c475eae2f119810806c8d08263ddf9a8572cc8e1ddce8b0fdcdc6f0f9e39215202a731ff29f81b8419a78f901b476b404d43711c9821359ce9faeb
|
7
|
+
data.tar.gz: f54e58b9e0ee03aacb0143f145afdcbcd832e1c9b03154c7038c3695a51ffd1b5034f1ec4afad6e9957c6fe9dc457af2c3a7a35336c045a95c3df77763616e38
|
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.1
|
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-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|