recruiter mailer

This commit is contained in:
Mark Moser
2016-08-02 10:35:33 -05:00
parent 78238e6d72
commit 4136db4aab
7 changed files with 99 additions and 0 deletions

View File

@ -0,0 +1,13 @@
class RecruiterMailer < ApplicationMailer
def candidate_created candidate
@candidate = candidate
mail to: @candidate.recruiter.email, subject: "Skills Assessment Test - #{candidate.name}"
end
def candidate_submitted candidate
@candidate = candidate
mail to: @candidate.recruiter.email, subject: "Skills Assessment Test - #{candidate.name}"
end
end