Sha256: d09d6ddc0ff6bf35be7c95f000c747bc9a456635b3c192175a98e54c21d07b55
Contents?: true
Size: 344 Bytes
Versions: 12
Compression:
Stored size: 344 Bytes
Contents
class UserMailer < ActionMailer::Base class Error < StandardError; end def welcome(user) @recipients = "#{user.email}" @from = "Mycompany <root@localhost>" @sent_on = Time.now @subject = 'Your account has been activated!' @body[:url] = "http://localhost:3000/" @body[:user] = user end end
Version data entries
12 entries across 12 versions & 3 rubygems