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_headersObject


3
4
5
# File 'app/mailers/notification_mailers/started_sharing.rb', line 3

def set_headers
  @headers[:subject] = I18n.t('notifier.started_sharing.subject', :name => @sender.name)
end