Class: Motor::NotifyNoteMentionsJob

Inherits:
ApplicationJob show all
Defined in:
app/jobs/motor/notify_note_mentions_job.rb

Instance Method Summary collapse

Instance Method Details

#perform(note, current_user) ⇒ Object



5
6
7
# File 'app/jobs/motor/notify_note_mentions_job.rb', line 5

def perform(note, current_user)
  Motor::Notes::NotifyMentions.call(note, current_user)
end