Class: CheckMailer

Inherits:
ApplicationMailer show all
Defined in:
app/mailers/check_mailer.rb

Instance Method Summary collapse

Instance Method Details

#change_status_mailObject


2
3
4
5
6
7
# File 'app/mailers/check_mailer.rb', line 2

def change_status_mail
	@name = params[:name]
	@status_before = params[:status_before]
	@status_after = params[:status_after]
  mail(subject: "[ciao] #{@name}: Status changed (#{@status_after})")
end