2016-09-08 10:25:33 -05:00
|
|
|
# frozen_string_literal: true
|
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
|