Sha256: 7a9ae38490fc4ebc54696b60f2f5710dbf2e656b565c40ed1a28df45f430712e

Contents?: true

Size: 288 Bytes

Versions: 11

Compression:

Stored size: 288 Bytes

Contents

module ApiUserAuth
  # Forgot password mailer
  class ForgotPasswordMailer < ActionMailer::Base
    default from: 'support@example.com'

    def reset_code(user)
      @email = user.email
      @code = user.code
      mail to: user.email, subject: 'Password Code Reset'
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
api_user_auth-0.1.9 app/mailers/api_user_auth/forgot_password_mailer.rb
api_user_auth-0.1.8 app/mailers/api_user_auth/forgot_password_mailer.rb
api_user_auth-0.1.7 app/mailers/api_user_auth/forgot_password_mailer.rb
api_user_auth-0.1.6 app/mailers/api_user_auth/forgot_password_mailer.rb
api_user_auth-0.1.5 app/mailers/api_user_auth/forgot_password_mailer.rb
api_user_auth-0.1.4 app/mailers/api_user_auth/forgot_password_mailer.rb
api_user_auth-0.1.2 app/mailers/api_user_auth/forgot_password_mailer.rb
api_user_auth-0.1.1 app/mailers/api_user_auth/forgot_password_mailer.rb
api_user_auth-0.1.0 app/mailers/api_user_auth/forgot_password_mailer.rb
api_user_auth-0.0.14 app/mailers/api_user_auth/forgot_password_mailer.rb
api_user_auth-0.0.12 app/mailers/api_user_auth/forgot_password_mailer.rb