lockstep_rails 0.3.40 → 0.3.41
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/lockstep/magic_link.rb +2 -2
- data/lib/lockstep_rails/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: 6e65c6ad7031ef59bab67ddc732c5f45897eff15bbfdd09c049924fdbdb827ad
|
4
|
+
data.tar.gz: 1bce4651a840e05e86bae6ff81dbdfdda9a6865c5744932d646f91832bf581ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4daa23908e58992340c31888f34a877930358762b2f22070ee22abd8066fa1764363957433cf44516798d4a08a1d71f154bf1220f9e25b9dfbb1076d5a543ae
|
7
|
+
data.tar.gz: beff60594deadcc08ed9b34587ddf644c3d9d8b968069c9dac3f5f57a0946086b630f6ee6b408e4ecd951db5991e419aaf0f87882d99d0728b407b3499107e1c
|
@@ -3,8 +3,8 @@ class Lockstep::MagicLink < Lockstep::ApiRecord
|
|
3
3
|
self.id_ref = "magicLinkId"
|
4
4
|
self.query_path = ""
|
5
5
|
|
6
|
-
def self.generate(email_id, expiry, app_id, user_role)
|
7
|
-
body = {email: email_id, expiresInMinutes: expiry, applicationId: app_id, userRole: user_role}
|
6
|
+
def self.generate(email_id, expiry, app_id, user_role, company_id)
|
7
|
+
body = {email: email_id, expiresInMinutes: expiry, applicationId: app_id, userRole: user_role, companyId: company_id}
|
8
8
|
resource.post_magic_link('', body: body, params: {})
|
9
9
|
end
|
10
10
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lockstep_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.41
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vivek AG
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-12-
|
11
|
+
date: 2022-12-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|