Path: | lib/mack-notifier/notifier_generator/notifier_generator.rb |
Last Update: | Mon Aug 25 10:11:30 -0400 2008 |
Generates the necessary files for a basic notifier.
Example:
rake generate:notifier name=welcome_email
generates the following files:
app/notifiers/welcome_email.rb app/notifiers/templates/welcome_email/text.erb app/notifiers/templates/welcome_email/html.erb test/unit/welcome_email_spec.rb # => if using RSpec test/unit/welcome_email_test.rb # => if using Test::Unit::TestCase