Sha256: 45863649b99126ad833b86efe48e21146df8274c46f16cc4ed6453a4c4cfe671
Contents?: true
Size: 423 Bytes
Versions: 7
Compression:
Stored size: 423 Bytes
Contents
# frozen_string_literal: true require 'rails/generators/base' module SlackWebhookLogger class InstallGenerator < Rails::Generators::Base source_root File.expand_path("..#{File::SEPARATOR}..#{File::SEPARATOR}templates", __FILE__) desc 'Create a Slack::WebhookLogger initializer' def copy_initializer template 'slack_webhook_logger.rb', 'config/initializers/slack_webhook_logger.rb' end end end
Version data entries
7 entries across 7 versions & 1 rubygems