Class: Pageflow::UserMailer Private
- Inherits:
-
ActionMailer::Base
- Object
- ActionMailer::Base
- Pageflow::UserMailer
- Defined in:
- app/mailers/pageflow/user_mailer.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
- #invitation(options) ⇒ Object private
Instance Method Details
#invitation(options) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
4 5 6 7 8 9 10 11 12 |
# File 'app/mailers/pageflow/user_mailer.rb', line 4 def invitation() @user = [:user] @password_token = [:password_token] I18n.with_locale(@user.locale) do headers('X-Language' => I18n.locale) mail(to: @user.email, subject: t('.subject'), from: Pageflow.config.mailer_sender) end end |