Class: ClearanceMailer
- Inherits:
-
ActionMailer::Base
- Object
- ActionMailer::Base
- ClearanceMailer
- Defined in:
- app/models/clearance_mailer.rb
Instance Method Summary collapse
Instance Method Details
#change_password(user) ⇒ Object
3 4 5 6 7 8 9 10 |
# File 'app/models/clearance_mailer.rb', line 3 def change_password(user) @user = user from Clearance.configuration.mailer_sender recipients @user.email subject I18n.t(:change_password, :scope => [:clearance, :models, :clearance_mailer], :default => "Change your password") end |
#confirmation(user) ⇒ Object
12 13 14 15 16 17 18 19 |
# File 'app/models/clearance_mailer.rb', line 12 def confirmation(user) @user = user from Clearance.configuration.mailer_sender recipients @user.email subject I18n.t(:confirmation, :scope => [:clearance, :models, :clearance_mailer], :default => "Account confirmation") end |