Module: Devise::Models::TwoFactorAuthenticatable::ClassMethods
- Defined in:
- lib/two_factor_authentication/models/two_factor_authenticatable.rb
Instance Method Summary collapse
Instance Method Details
#has_one_time_password(options = {}) ⇒ Object
11 12 13 14 |
# File 'lib/two_factor_authentication/models/two_factor_authenticatable.rb', line 11 def has_one_time_password( = {}) include InstanceMethodsOnActivation include EncryptionInstanceMethods if [:encrypted] == true end |