recruiter mailer
This commit is contained in:
13
app/mailers/recruiter_mailer.rb
Normal file
13
app/mailers/recruiter_mailer.rb
Normal file
@ -0,0 +1,13 @@
|
||||
class RecruiterMailer < ApplicationMailer
|
||||
def candidate_created candidate
|
||||
@candidate = candidate
|
||||
|
||||
mail to: @candidate.recruiter.email, subject: "Skills Assessment Test - #{candidate.name}"
|
||||
end
|
||||
|
||||
def candidate_submitted candidate
|
||||
@candidate = candidate
|
||||
|
||||
mail to: @candidate.recruiter.email, subject: "Skills Assessment Test - #{candidate.name}"
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user