Sha256: c283d61f12d5f647c235a5cd0264a7da2470519a64b531cc7979bde563a97fef

Contents?: true

Size: 344 Bytes

Versions: 4

Compression:

Stored size: 344 Bytes

Contents

module Guts
  # Handles sending user-related emails
  class UserMailer < ApplicationMailer
    # Sends a password reset email to the user
    # @param [Object] user the user object
    def password_reset(user)
      @user  = user
      @token = user.password_token
      
      mail to: @user.email, subject: "Reset Password"
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
guts-1.0.8 app/mailers/guts/user_mailer.rb
guts-1.0.7 app/mailers/guts/user_mailer.rb
guts-1.0.5 app/mailers/guts/user_mailer.rb
guts-1.0.3 app/mailers/guts/user_mailer.rb