Class: ActiveWebhook::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- ActiveWebhook::Generators::InstallGenerator
- Defined in:
- lib/generators/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_config ⇒ Object
11 12 13 |
# File 'lib/generators/install_generator.rb', line 11 def copy_config template "active_webhook_config.rb", Rails.root.join('config','active_webhook.rb') end |
#run_other_generators ⇒ Object
15 16 17 |
# File 'lib/generators/install_generator.rb', line 15 def run_other_generators invoke "active_webhook:migrations" end |