]> projects.mako.cc - selectricity/blob - app/models/voter_notify.rb
09f7899ba9c774dd7fef4e8e2d0e48fc33b5ded0
[selectricity] / app / models / voter_notify.rb
1 class VoterNotify < ActionMailer::Base
2
3   def votestart(voter)
4     @subject = "[%s] Election In Progress!" % voter.election.name
5     @recipients = voter.email
6     @from = MAIL_CONFIG[:from]
7     @sent_on = Time.now
8     @body = { :voter => voter }
9   end
10
11   def reminder(voter)
12   end
13
14 end

Benjamin Mako Hill || Want to submit a patch?