16 lines
534 B
Ruby
16 lines
534 B
Ruby
# frozen_string_literal: true
|
|
# 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
|
|
|
|
def candidate_reviewed
|
|
RecruiterMailer.candidate_reviewed Candidate.find_by(test_hash: 's6oFExZliYYFx') # Stacy
|
|
end
|
|
end
|