Class: NotificationMailers::StartedSharing

Inherits:
Base
  • Object
show all
Defined in:
app/mailers/notification_mailers/started_sharing.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_headers(*_args) ⇒ Object

rubocop:disable Naming/AccessorMethodName


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

def set_headers(*_args) # rubocop:disable Naming/AccessorMethodName
  @headers[:subject] = I18n.t("notifier.started_sharing.subject", name: @sender.name)
end