14 lines
375 B
Ruby
14 lines
375 B
Ruby
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
|