stytch 0.1.15 → 0.1.16

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: 9614e61d538bb1c8c0e8ab5be16851c5880da47e6942bc8bcbcb0a9ae2fe2ca2
4
- data.tar.gz: 614edf461cda1fea452850ff69527dff40d6477b120e261c6c25b86953407a6c
3
+ metadata.gz: b5e74159b4ccdd160d7a8a599d61275e517a0df54f7c9b275b04270ca70e1cce
4
+ data.tar.gz: 4c4fe4ca458b8a9b2406dc91a8cb17aeee00a9f085d1d0901667bc56e9889f7e
5
5
  SHA512:
6
- metadata.gz: 0eccfeabd3343dcbd4edc8e2ac518a4128bdf50e6612a004b95b4b865812dd7d477282b63af253967ad7a5d0ea2753f58bbb874d8675e330c9e10d10a4cbe2a5
7
- data.tar.gz: 6fc84b8e9e2ac6ca16698d22e762f53b319eb7b252d1b6f4825c8bc1e976d9dfef0c76f194cfa2ca0bd3d6085ba3bfcecda736c4e3c4090ca77cacf151df61b0
6
+ metadata.gz: 2776be6b39e2e79539ee725a443a5f219cd6908852d85615eb8827ae1612555fda1c7253741e4ae09f253e4d57c0c372a65dba233a5f578411743429d869b2ee
7
+ data.tar.gz: e3c11df26c21e8a7898fa652502781e63d0362bf2958338946318236351f3c83643d0e35cc773c77f27899e893833a6c3c9330168b7ab26ebaf50d430e3ac88c
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Stytch
2
2
 
3
- Welcome to the offical Stytch ruby gem! This gem provides easy access to Stytch's API.
3
+ Welcome to the official Stytch ruby gem! This gem provides easy access to Stytch's API.
4
4
 
5
5
  ## Installation
6
6
 
@@ -61,28 +61,6 @@ module Stytch
61
61
  post("#{PATH}/login_or_create", request)
62
62
  end
63
63
 
64
- def login_or_invite_by_email(
65
- email:,
66
- login_magic_link_url:,
67
- invite_magic_link_url:,
68
- login_expiration_minutes: nil,
69
- invite_expiration_minutes: nil,
70
- attributes: {}
71
- )
72
-
73
- request = {
74
- email: email,
75
- login_magic_link_url: login_magic_link_url,
76
- invite_magic_link_url: invite_magic_link_url,
77
- }
78
-
79
- request[:login_expiration_minutes] = login_expiration_minutes if login_expiration_minutes != nil
80
- request[:invite_expiration_minutes] = invite_expiration_minutes if invite_expiration_minutes != nil
81
- request[:attributes] = attributes if attributes != {}
82
-
83
- post("#{PATH}/login_or_invite", request)
84
- end
85
-
86
64
  def invite_by_email(
87
65
  email:,
88
66
  magic_link_url:,
@@ -1,3 +1,3 @@
1
1
  module Stytch
2
- VERSION = "0.1.15"
2
+ VERSION = "0.1.16"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stytch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.15
4
+ version: 0.1.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - alex-stytch
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-01-23 00:00:00.000000000 Z
11
+ date: 2021-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday