Sha256: 6c2f6cee4266bac5e107eafa4f52cb5add393822e3f3bcf73f7b638760882af5

Contents?: true

Size: 505 Bytes

Versions: 53

Compression:

Stored size: 505 Bytes

Contents

require_relative "../super_scaffold_base"

class IncomingWebhooksGenerator < Rails::Generators::Base
  include SuperScaffoldBase

  source_root File.expand_path("templates", __dir__)

  namespace "super_scaffold:incoming_webhooks"

  argument :provider_name

  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
end

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
bullet_train-super_scaffolding-1.10.0 lib/generators/super_scaffold/incoming_webhooks/incoming_webhooks_generator.rb
bullet_train-super_scaffolding-1.9.0 lib/generators/super_scaffold/incoming_webhooks/incoming_webhooks_generator.rb
bullet_train-super_scaffolding-1.8.5 lib/generators/super_scaffold/incoming_webhooks/incoming_webhooks_generator.rb
bullet_train-super_scaffolding-1.8.4 lib/generators/super_scaffold/incoming_webhooks/incoming_webhooks_generator.rb
bullet_train-super_scaffolding-1.8.3 lib/generators/super_scaffold/incoming_webhooks/incoming_webhooks_generator.rb
bullet_train-super_scaffolding-1.8.2 lib/generators/super_scaffold/incoming_webhooks/incoming_webhooks_generator.rb
bullet_train-super_scaffolding-1.8.1 lib/generators/super_scaffold/incoming_webhooks/incoming_webhooks_generator.rb
bullet_train-super_scaffolding-1.8.0 lib/generators/super_scaffold/incoming_webhooks/incoming_webhooks_generator.rb
bullet_train-super_scaffolding-1.7.23 lib/generators/super_scaffold/incoming_webhooks/incoming_webhooks_generator.rb
bullet_train-super_scaffolding-1.7.22 lib/generators/super_scaffold/incoming_webhooks/incoming_webhooks_generator.rb
bullet_train-super_scaffolding-1.7.21 lib/generators/super_scaffold/incoming_webhooks/incoming_webhooks_generator.rb
bullet_train-super_scaffolding-1.7.20 lib/generators/super_scaffold/incoming_webhooks/incoming_webhooks_generator.rb
bullet_train-super_scaffolding-1.7.19 lib/generators/super_scaffold/incoming_webhooks/incoming_webhooks_generator.rb
bullet_train-super_scaffolding-1.7.18 lib/generators/super_scaffold/incoming_webhooks/incoming_webhooks_generator.rb
bullet_train-super_scaffolding-1.7.17 lib/generators/super_scaffold/incoming_webhooks/incoming_webhooks_generator.rb
bullet_train-super_scaffolding-1.7.16 lib/generators/super_scaffold/incoming_webhooks/incoming_webhooks_generator.rb
bullet_train-super_scaffolding-1.7.15 lib/generators/super_scaffold/incoming_webhooks/incoming_webhooks_generator.rb
bullet_train-super_scaffolding-1.7.14 lib/generators/super_scaffold/incoming_webhooks/incoming_webhooks_generator.rb
bullet_train-super_scaffolding-1.7.13 lib/generators/super_scaffold/incoming_webhooks/incoming_webhooks_generator.rb
bullet_train-super_scaffolding-1.7.12 lib/generators/super_scaffold/incoming_webhooks/incoming_webhooks_generator.rb