Sha256: 61633722334aff8dbfd42167edf6ec711937adf40b404245f1d26e5556c73895
Contents?: true
Size: 461 Bytes
Versions: 9
Compression:
Stored size: 461 Bytes
Contents
module Outbox module Generators class NotifierGenerator < ::Rails::Generators::NamedBase source_root File.expand_path('../templates', __FILE__) argument :actions, type: :array, default: [], banner: 'method method' check_class_collision def create_notifier_file template 'notifier.rb', File.join('app/notifiers', class_path, "#{file_name}.rb") end hook_for :template_engine, :test_framework end end end
Version data entries
9 entries across 9 versions & 1 rubygems