Introduce Workers::Mail::NotifierBase to be a base for all appropriate mail workers to reduce code duplication
7 lines
257 B
Ruby
7 lines
257 B
Ruby
module NotificationMailers
|
|
class StartedSharing < NotificationMailers::Base
|
|
def set_headers(*_args) # rubocop:disable Style/AccessorMethodName
|
|
@headers[:subject] = I18n.t("notifier.started_sharing.subject", name: @sender.name)
|
|
end
|
|
end
|
|
end
|