stytch 0.1.8 → 0.1.9

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: f78c9a111464963c4c5720743961c8fa40109900c867e0771b06e009f3940ade
4
- data.tar.gz: 9594ec5391ab2679511291c8057945008afeb9e3b2012d1bf28e9cb41179c701
3
+ metadata.gz: dce77f663ed188c6e17b28e8a1152cb505caf33fbe331baf39bddafe27d72ef1
4
+ data.tar.gz: 287cd35a182658ddbfea53054ee6009369f93009af2237625f00a409f58dce2e
5
5
  SHA512:
6
- metadata.gz: fbf40c48a6fd68f8cf86b1b6f0e3362baa66c7354477f146fbd3bbab2ddf9b83882470b39ef1a76dcd786ce87435ce8e059f575622323f9fd664ce87ccbd6c15
7
- data.tar.gz: 1337d3a4020bed0a65c847d2b92717895bb1059336c85f40648d4d65973d4223e76cad8995242502bc6dd0169bb000f88dca5205de2ff5ff94a011c4f4cca9b0
6
+ metadata.gz: 2d01625b9eb70a78e699cbf8812d190c607b3b15e14ed54b1c864c5b8d0ed25f4fc60722788ea6814807265803b41cfcd1cdc30dc807f039acb0a5ad908ba6c0
7
+ data.tar.gz: 155eae0215c8e8e80e47e890863e094e5aad737301e45b9d62cd0313317d3c593c5fc8d06857950a5693af1de5acf2c1fc3f9893a3cd6f92fce41a631b4765cf
@@ -3,25 +3,6 @@ module Stytch
3
3
  module Email
4
4
  PATH = "/v1/emails".freeze
5
5
 
6
- def send_email_verification(
7
- user_id:,
8
- email_id:,
9
- magic_link_url:,
10
- expiration_minutes:
11
- )
12
- request = {
13
- user_id: user_id,
14
- magic_link_url: magic_link_url,
15
- expiration_minutes: expiration_minutes
16
- }
17
-
18
- post("#{PATH}/#{email_id}/send_verification", request)
19
- end
20
-
21
- def verify_email(token:)
22
- post("#{PATH}/#{token}/verify", {})
23
- end
24
-
25
6
  def delete_email(user_id:, email_id:)
26
7
  delete("#{PATH}/#{email_id}/users/#{user_id}")
27
8
  end
@@ -1,3 +1,3 @@
1
1
  module Stytch
2
- VERSION = "0.1.8"
2
+ VERSION = "0.1.9"
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.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - alex-stytch
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-12-02 00:00:00.000000000 Z
11
+ date: 2020-12-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday