blob: d6e8d1691df2c6c274913a89ec2baabecc969e8e (
plain) (
tree)
|
|
require 'action_mailer'
class <%= class_name %> < ActionMailer::Base
<% for action in actions -%>
def <%= action %>(sent_on = Time.now)
@subject = '<%= class_name %>#<%= action %>'
@body = {}
@recipients = ''
@from = ''
@sent_on = sent_on
@headers = {}
end
<% end -%>
end
|