2016-09-08 10:25:33 -05:00
|
|
|
# frozen_string_literal: true
|
2016-08-02 11:30:03 -05:00
|
|
|
# Preview all emails at http://localhost:3000/rails/mailers/reviewer_mailer
|
|
|
|
class ReviewerMailerPreview < ActionMailer::Preview
|
|
|
|
def candidate_submission
|
|
|
|
ReviewerMailer.candidate_submission Candidate.find_by(test_hash: 'OvP0ZqGKwJ0') # Dawn
|
|
|
|
end
|
2017-02-08 17:57:25 -06:00
|
|
|
|
|
|
|
def reminder
|
|
|
|
reminders = ReviewerReminder.new
|
|
|
|
reminder = reminders.reminders.first
|
|
|
|
ReviewerMailer.reminder reminder
|
|
|
|
end
|
2017-02-09 15:38:38 -06:00
|
|
|
|
|
|
|
def notify_manager
|
|
|
|
ReviewerMailer.notify_manager Candidate.find_by(test_hash: 'OvP0ZqGKwJ0').id # Dawn
|
|
|
|
end
|
2017-02-14 11:32:39 -06:00
|
|
|
|
|
|
|
def new_comment
|
|
|
|
ReviewerMailer.new_comment QuizComment.first
|
|
|
|
end
|
2016-08-02 11:30:03 -05:00
|
|
|
end
|