2016-09-08 10:25:33 -05:00
|
|
|
# frozen_string_literal: true
|
2016-08-02 11:30:03 -05:00
|
|
|
class ReviewerMailer < ApplicationMailer
|
|
|
|
def candidate_submission candidate
|
|
|
|
@candidate = candidate
|
2016-09-15 13:40:43 -05:00
|
|
|
recipients = candidate.quiz.reviewers.map(&:email)
|
2016-08-02 11:30:03 -05:00
|
|
|
|
|
|
|
mail to: recipients, subject: "Skills Assessment Results"
|
|
|
|
end
|
|
|
|
end
|