class Totalizer::MandrillMailerNotifier

Public Class Methods

send(body, options) click to toggle source
# File lib/totalizer/notifier/mandrill_mailer_notifier.rb, line 3
def self.send body, options
  MandrillMailer::MessageMailer.mandrill_mail(from: options[:from], to: options[:to], subject: options[:subject], text: body).deliver_now
end