Class: Iro::AlertMailer

Inherits:
ActionMailer::Base
  • Object
show all
Defined in:
app/mailers/iro/alert_mailer.rb

Instance Method Summary collapse

Instance Method Details

#stock_alert(alert) ⇒ Object



6
7
8
9
10
# File 'app/mailers/iro/alert_mailer.rb', line 6

def stock_alert alert
  @alert = alert
  mail( to: 'poxlovi@gmail.com',
    subject: 'Iro::AlertMailer#stock_alert' )
end