Class: Noticed::Generators::DeliveryMethodGenerator
- Inherits:
-
Rails::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- Noticed::Generators::DeliveryMethodGenerator
- Includes:
- Rails::Generators::ResourceHelpers
- Defined in:
- lib/generators/noticed/delivery_method_generator.rb
Instance Method Summary collapse
Instance Method Details
#generate_notification ⇒ Object
14 15 16 |
# File 'lib/generators/noticed/delivery_method_generator.rb', line 14 def generate_notification template "delivery_method.rb", "app/notifications/delivery_methods/#{singular_name}.rb" end |