2014-09-05 02:24:33 +00:00
|
|
|
class DoorMailer < ActionMailer::Base
|
|
|
|
default :from => "no-reply@heatsynclabs.org"
|
|
|
|
|
|
|
|
def alert(status)
|
|
|
|
@url = "http://members.heatsynclabs.org"
|
|
|
|
@status = status
|
|
|
|
|
2014-09-05 02:40:00 +00:00
|
|
|
mail(:to => 'heatsynclabs@googlegroups.com',
|
2014-09-05 02:24:33 +00:00
|
|
|
:subject => "HSL Doors")
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|