Class: Totalizer::ActionMailerNotifier
- Inherits:
-
EmailNotifier
- Object
- BaseNotifier
- EmailNotifier
- Totalizer::ActionMailerNotifier
- Defined in:
- lib/totalizer/notifier/action_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/action_mailer_notifier.rb', line 3 def self.send body, ActionMailer::Base.mail(from: [:from], to: [:to], subject: [:subject], body: body).deliver_now end |