Sha256: 250162469cd544c6e1629e9365cd9c8e1e68c18ae6ff3b04219eb28a29d2ab8f

Contents?: true

Size: 581 Bytes

Versions: 5

Compression:

Stored size: 581 Bytes

Contents

module Boxroom
  class UserMailer < ActionMailer::Base
    def signup_email(user)
      @user = user
      mail(:to => user.email, :subject => t(:signup_email_subject))
    end

    def reset_password_email(user)
      @user = user
      mail(:to => user.email, :subject => t(:reset_password_email_subject))
    end

    def share_link_email(share_link)
      @share_link = share_link
      mail(:to => share_link.user.email, :reply_to => share_link.user.email, :bcc => share_link.emails, :subject => t(:share_link_email_subject, :email => share_link.user.email))
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
boxroom-0.0.5 app/mailers/boxroom/user_mailer.rb
boxroom-0.0.4 app/mailers/boxroom/user_mailer.rb
boxroom-0.0.3 app/mailers/boxroom/user_mailer.rb
boxroom-0.0.2 app/mailers/boxroom/user_mailer.rb
boxroom-0.0.1 app/mailers/boxroom/user_mailer.rb