Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Mar 13th, 2018 56 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. class Mailer < ActionMailer::Base
  2.  
  3.   def notify_client(recipient = nil, first_name = nil)
  4.     return false if recipient.nil? or first_name.nil?
  5.     setup_email
  6.     @recipients        = recipient
  7.     @subject          += "Thank you for your submission"
  8.     @body[:first_name] = first_name
  9.   end
  10.  
  11. private
  12.  
  13.   def setup_email
  14.     @from        = DO_NOT_REPLY
  15.     @subject     = "[Vacation Greeting Card] "
  16.     @sent_on     = Time.now
  17.   end
  18.  
  19. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top