class CheckerJobs::Notifiers::Email::Mailer

Simple mailer class based on ActionMailer to send HTML emails while reusing the ActionMailer configuration of the application embedding the checkers.

Public Instance Methods

notify(body, options) click to toggle source
# File lib/checker_jobs/notifiers/email.rb, line 49
def notify(body, options)
  mail(options) do |format|
    format.html { render html: body.html_safe }
  end
end