about summary refs log tree commit diff
path: root/app/workers/notification_worker.rb
blob: 129512a5a2a79ccf5a8f422d07687a21696385aa (plain) (blame)
1
2
3
4
5
6
7
class NotificationWorker
  include Sidekiq::Worker

  def perform(stream_entry_id, target_account_id)
    SendInteractionService.new.(StreamEntry.find(stream_entry_id), Account.find(target_account_id))
  end
end