Class: Dallal::Mailer

Inherits:
ActionMailer::Base
  • Object
show all
Defined in:
app/mailers/dallal/mailer.rb

Instance Method Summary collapse

Instance Method Details

#notify(notification) ⇒ Object

TODO add mailer specs



6
7
8
9
# File 'app/mailers/dallal/mailer.rb', line 6

def notify(notification)
  @notification = notification
  mail(mail_attrs)
end