reviewer mailers
This commit is contained in:
15
app/mailers/reviewer_mailer.rb
Normal file
15
app/mailers/reviewer_mailer.rb
Normal file
@ -0,0 +1,15 @@
|
||||
class ReviewerMailer < ApplicationMailer
|
||||
def candidate_submission candidate
|
||||
@candidate = candidate
|
||||
|
||||
# TODO: candidate.reviewers.map(:email)
|
||||
if Rails.env.production?
|
||||
recipients = ["harish.bhavanichikar@perficient.com", "jacob.schulke@perficient.com",
|
||||
"jennifer.siegfried@perficient.com", "martin.ridgway@perficient.com"]
|
||||
else
|
||||
recipients = ["fed.reviewer@mailinator.com"]
|
||||
end
|
||||
|
||||
mail to: recipients, subject: "Skills Assessment Results"
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user