Class: Totalizer::MandrillMailerNotifier
- Inherits:
-
EmailNotifier
- Object
- BaseNotifier
- EmailNotifier
- Totalizer::MandrillMailerNotifier
- Defined in:
- lib/totalizer/notifier/mandrill_mailer_notifier.rb
Constant Summary
Constants inherited from EmailNotifier
EmailNotifier::DEFAULT_OPTIONS
Class Method Summary collapse
Methods inherited from EmailNotifier
Class Method Details
.send(body, options) ⇒ Object
3 4 5 |
# File 'lib/totalizer/notifier/mandrill_mailer_notifier.rb', line 3 def self.send body, MandrillMailer::MessageMailer.mandrill_mail(from: [:from], to: [:to], subject: [:subject], text: body).deliver_now end |