skill-assessment-app/app/mailers/recruiter_mailer.rb

14 lines
375 B
Ruby
Raw Normal View History

2016-08-02 10:35:33 -05:00
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