Class: IncomingWebhooksGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- IncomingWebhooksGenerator
- Includes:
- SuperScaffoldBase
- Defined in:
- lib/generators/super_scaffold/incoming_webhooks/incoming_webhooks_generator.rb
Instance Method Summary collapse
Instance Method Details
#generate ⇒ Object
12 13 14 15 16 17 |
# File 'lib/generators/super_scaffold/incoming_webhooks/incoming_webhooks_generator.rb', line 12 def generate # We add the name of the specific super_scaffolding command that we want to # invoke to the beginning of the argument string. ARGV.unshift "incoming-webhooks" BulletTrain::SuperScaffolding::Runner.new.run end |