Class: Passwordless::Session
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Passwordless::Session
- Defined in:
- app/models/passwordless/session.rb
Overview
The session responsible for holding the connection between the record trying to log in and the unique tokens.
Instance Method Summary collapse
Instance Method Details
#expired? ⇒ Boolean
24 25 26 |
# File 'app/models/passwordless/session.rb', line 24 def expired? expires_at <= Time.current end |