Sha256: 1d903d96fcc894bfef644cd6b106ef945a238c07159cf2030c7b04d0bb8958e8
Contents?: true
Size: 438 Bytes
Versions: 26
Compression:
Stored size: 438 Bytes
Contents
module ClarkKent class ReportMailer < ActionMailer::Base default from: 'reservations@invitedhome.com' def report_run(report_id, user_id, report_download_url) @report = Report.find(report_id) @user = User.find(user_id) @recipient_email = @user.email @report_download_url = report_download_url @subject = "Your report #{@report.name} is ready" mail(to: @recipient_email, subject: @subject) end end end
Version data entries
26 entries across 26 versions & 1 rubygems