class Totalizer::ActionMailerNotifier

Public Class Methods

send(body, options) click to toggle source
# File lib/totalizer/notifier/action_mailer_notifier.rb, line 3
def self.send body, options
  ActionMailer::Base.mail(from: options[:from], to: options[:to], subject: options[:subject], body: body).deliver_now
end