Class: GraphqlAuth::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- GraphqlAuth::Generators::InstallGenerator
- Defined in:
- lib/generators/graphql_auth/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_configuration ⇒ Object
6 7 8 |
# File 'lib/generators/graphql_auth/install_generator.rb', line 6 def copy_configuration template 'graphql_auth.rb.erb', 'config/initializers/graphql_auth.rb' end |
#rake_db ⇒ Object
10 11 12 |
# File 'lib/generators/graphql_auth/install_generator.rb', line 10 def rake_db rake("railties:install:migrations") end |