Class: Baldur::Generators::InstallGoogleAuthGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Baldur::Generators::InstallGoogleAuthGenerator
- Defined in:
- lib/generators/baldur/install_google_auth/install_google_auth_generator.rb
Instance Method Summary collapse
Instance Method Details
#create_helper ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/generators/baldur/install_google_auth/install_google_auth_generator.rb', line 6 def create_helper create_file "app/helpers/google_auth_helper.rb", <<~RUBY module GoogleAuthHelper include Baldur::Optional::GoogleAuthHelper end RUBY end |