Sha256: 1610958f4263094e5b0c1b8250bda96cf397c738be1513b645621bd433c59471

Contents?: true

Size: 412 Bytes

Versions: 2

Compression:

Stored size: 412 Bytes

Contents

class IuguMailer < Devise::Mailer

  default from: "Kupz <equipe@kupz.com.br>",
          reply_to: "Kupz <atendimento@kupz.com.br>"

  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
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
iugusdk-1.0.0.alpha.1 app/mailers/iugu_mailer.rb
iugusdk-1.0.0.alpha.0 app/mailers/iugu_mailer.rb