Guest User

Untitled

a guest
Jun 22nd, 2018
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. class Notifier < ActionMailer::Base
  2. #
  3. # def job_app(applicant)
  4. # recipients RAILS_ENV == "production" ? "jim@pbsbooks.com" : "bordy@graysenterprises.com"
  5. # from applicant[:email]
  6. # subject "[PBS Books] Job Application"
  7. # body :applicant => applicant
  8. # end
  9.  
  10. def email_jim(business_day, school)
  11. recipients RAILS_ENV == "production" ? "mikemiller@graysbooks.com, chris@graysbooks.com" : "bordy@graysenterprises.com"
  12. from "pbstest@graysbooks.com"
  13. subject "[#{school.school_name}] Variance Notification"
  14. body :school => school
  15. end
  16. end
Add Comment
Please, Sign In to add comment