mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
2594581e9f
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@63 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
14 lines
271 B
Ruby
14 lines
271 B
Ruby
require 'action_mailer'
|
|
|
|
class <%= class_name %> < ActionMailer::Base
|
|
<% for action in actions -%>
|
|
|
|
def <%= action %>(sent_on = Time.now)
|
|
@recipients = ''
|
|
@from = ''
|
|
@subject = ''
|
|
@body = {}
|
|
@sent_on = sent_on
|
|
end
|
|
<% end -%>
|
|
end
|