Class: ActiveWebhook::Generators::InstallGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/install_generator.rb

Instance Method Summary collapse

Instance Method Details

#copy_configObject



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_generatorsObject



15
16
17
# File 'lib/generators/install_generator.rb', line 15

def run_other_generators
  invoke "active_webhook:migrations"
end