Class: Adeia::Token
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Adeia::Token
- Defined in:
- app/models/adeia/token.rb
Instance Method Summary collapse
Instance Method Details
#is_valid? ⇒ Boolean
10 11 12 |
# File 'app/models/adeia/token.rb', line 10 def is_valid? exp_at > Time.now && is_valid end |