Sha256: 2da23d779ced1ba6674ae4bc5170256dcc8520c4b3b221fe41ebeb68884c2962
Contents?: true
Size: 584 Bytes
Versions: 8
Compression:
Stored size: 584 Bytes
Contents
class IuguMailer < Devise::Mailer default from: "iugu <do-not-respond@iugu.com>", reply_to: "iugu <do-not-respond@iugu.com>" def template_paths "iugu/mailer" end def invitation(user_invitation) @user_invitation = user_invitation mail(to: @user_invitation.email, :subject => "Convite para sua conta") do |format| format.html { render "iugu/mailer/invitation" } end end def welcome(user) @user = user mail(to: @user.email, :subject => "Bem vindo!") do |format| format.html { render "iugu/mailer/welcome" } end end end
Version data entries
8 entries across 8 versions & 1 rubygems