Sha256: 50730f03483c524c11415f7a422128e064b6c6294ea4f1910a6205bd21dc03bd
Contents?: true
Size: 295 Bytes
Versions: 31
Compression:
Stored size: 295 Bytes
Contents
class ReportMailer < ActionMailer::Base default from: QueryReport.config.email_from def send_report(user, to, subject, message, file_name, attachment) @user = user @message = message attachments["#{file_name}.pdf"] = attachment mail(:to => to, :subject => subject) end end
Version data entries
31 entries across 31 versions & 1 rubygems