Class: Rearview::AlertMailer
- Inherits:
-
ActionMailer::Base
- Object
- ActionMailer::Base
- Rearview::AlertMailer
- Defined in:
- app/mailers/rearview/alert_mailer.rb
Instance Method Summary collapse
Instance Method Details
#alert_email(recipient, job, result) ⇒ Object
4 5 6 7 8 |
# File 'app/mailers/rearview/alert_mailer.rb', line 4 def alert_email(recipient, job, result) @job = job @result = result mail(:to => recipient, :subject => "[Rearview ALERT] #{job.name}") end |