Sha256: d47ff763c0540d62dead0341e501cbdab00c194a50deb875624b203d231e0d25

Contents?: true

Size: 402 Bytes

Versions: 13

Compression:

Stored size: 402 Bytes

Contents

# frozen_string_literal: true

module Maquina
  class UserNotificationsMailer < ApplicationMailer
    def invitation_email
      @email = params[:email]
      @url = params[:url]
      @inviteer = params[:inviteer]
      @org = params[:org] || I18n.t("application_name")

      subject = I18n.t("mailers.invitation_email.subject", org: @org)

      mail(to: @email, subject: subject)
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
maquina-0.7.2 app/mailers/maquina/user_notifications_mailer.rb
maquina-0.7.1 app/mailers/maquina/user_notifications_mailer.rb
maquina-0.5.2 app/mailers/maquina/user_notifications_mailer.rb
maquina-0.5.1 app/mailers/maquina/user_notifications_mailer.rb
maquina-0.4.0 app/mailers/maquina/user_notifications_mailer.rb
maquina-0.3.0 app/mailers/maquina/user_notifications_mailer.rb
maquina-0.2.5 app/mailers/maquina/user_notifications_mailer.rb
maquina-0.2.4 app/mailers/maquina/user_notifications_mailer.rb
maquina-0.2.3 app/mailers/maquina/user_notifications_mailer.rb
maquina-0.2.2 app/mailers/maquina/user_notifications_mailer.rb
maquina-0.2.1 app/mailers/maquina/user_notifications_mailer.rb
maquina-0.2.0 app/mailers/maquina/user_notifications_mailer.rb
maquina-0.1.0 app/mailers/maquina/user_notifications_mailer.rb