Class: Hertz::Courier::Email::NotificationMailer
- Inherits:
-
Object
- Object
- Hertz::Courier::Email::NotificationMailer
- Defined in:
- app/mailers/hertz/courier/email/notification_mailer.rb
Instance Method Summary collapse
Instance Method Details
#notification_email(notification) ⇒ Object
6 7 8 9 10 11 12 13 14 |
# File 'app/mailers/hertz/courier/email/notification_mailer.rb', line 6 def notification_email(notification) @notification = notification mail( to: notification.receiver.hertz_email, subject: notification.email_subject, template_name: view_for(notification) ) end |