Class: DeviseTwilioTwoFactor::Generators::DeviseTwilioTwoFactorGenerator

Inherits:
Rails::Generators::NamedBase
  • Object
show all
Defined in:
lib/generators/devise_twilio_two_factor/devise_twilio_two_factor_generator.rb

Instance Method Summary collapse

Instance Method Details

#install_devise_twilio_two_factorObject



9
10
11
12
# File 'lib/generators/devise_twilio_two_factor/devise_twilio_two_factor_generator.rb', line 9

def install_devise_twilio_two_factor
  create_devise_twilio_two_factor_migration
  inject_devise_directives_into_model
end