recruiter mailer

This commit is contained in:
Mark Moser
2016-08-02 10:35:33 -05:00
parent 78238e6d72
commit 4136db4aab
7 changed files with 99 additions and 0 deletions

View File

@ -0,0 +1,10 @@
# 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
end