Class: Notifications::StartedSharing

Inherits:
Notification
  • Object
show all
Defined in:
app/models/notifications/started_sharing.rb

Instance Method Summary collapse

Instance Method Details

#email_the_user(target, actor) ⇒ Object


10
11
12
# File 'app/models/notifications/started_sharing.rb', line 10

def email_the_user(target, actor)
  super(target.sender, actor)
end

#mail_jobObject


2
3
4
# File 'app/models/notifications/started_sharing.rb', line 2

def mail_job
  Workers::Mail::StartedSharing
end

6
7
8
# File 'app/models/notifications/started_sharing.rb', line 6

def popup_translation_key
  'notifications.started_sharing'
end