tasafo/tasafo_jobs

View on GitHub
app/mailers/resume_mailer.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
class ResumeMailer < ApplicationMailer
  def new_resume(resume_id, recipient_id)
    @resume = Resume.find(resume_id)
    recipient = User.find(recipient_id)

    mail(to: recipient.email, subject: I18n.t('resumes.email.new_resume_subject'))
  end
end