Sha256: f6478e25bc266913bf20636ac077dd54c9ea23aec65313159565af883e28ca7f
Contents?: true
Size: 391 Bytes
Versions: 1
Compression:
Stored size: 391 Bytes
Contents
module PubsubNotifier class InstallGenerator < ::Rails::Generators::Base source_root File.expand_path("../templates", __FILE__) def create_initializer_file template "initializer.rb", "config/initializers/pubsub_notifier.rb" end def create_application_notifier_file template "application_notifier.rb", "app/notifiers/application_notifier.rb" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pubsub_notifier-0.1.0 | lib/generators/pubsub_notifier/install/install_generator.rb |