Class: NotificationMailers::CsrfTokenFail

Inherits:
Base
  • Object
show all
Defined in:
app/mailers/notification_mailers/csrf_token_fail.rb

Instance Attribute Summary

Attributes inherited from Base

#recipient, #sender

Instance Method Summary collapse

Methods inherited from Base

#headers, #initialize, #name_and_address

Constructor Details

This class inherits a constructor from NotificationMailers::Base

Instance Method Details

#set_headersObject


5
6
7
# File 'app/mailers/notification_mailers/csrf_token_fail.rb', line 5

def set_headers
  @headers[:subject] = I18n.t("notifier.csrf_token_fail.subject", name: @recipient.name)
end