2016-09-08 10:25:33 -05:00
|
|
|
# frozen_string_literal: true
|
2016-08-02 10:35:33 -05:00
|
|
|
# Preview all emails at http://localhost:3000/rails/mailers/recruiter_mailer
|
|
|
|
class RecruiterMailerPreview < ActionMailer::Preview
|
|
|
|
def candidate_created
|
|
|
|
RecruiterMailer.candidate_created Candidate.find_by(test_hash: 'R67PmfDHGiw') # Martha
|
|
|
|
end
|
|
|
|
|
|
|
|
def candidate_submitted
|
|
|
|
RecruiterMailer.candidate_submitted Candidate.find_by(test_hash: 'OvP0ZqGKwJ0') # Dawn
|
|
|
|
end
|
2016-11-30 18:55:27 -06:00
|
|
|
|
2017-03-02 10:21:30 -06:00
|
|
|
def candidate_reviewed
|
|
|
|
RecruiterMailer.candidate_reviewed Candidate.find_by(test_hash: 's6oFExZliYYFx') # Stacy
|
2016-11-30 18:55:27 -06:00
|
|
|
end
|
2016-08-02 10:35:33 -05:00
|
|
|
end
|