Class: CASino::User
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- CASino::User
- Defined in:
- app/models/casino/user.rb
Instance Method Summary collapse
Instance Method Details
#active_two_factor_authenticator ⇒ Object
8 9 10 |
# File 'app/models/casino/user.rb', line 8 def active_two_factor_authenticator self.two_factor_authenticators.where(active: true).first end |