Class: TentD::Notifications::NotifyEntityWorker

Inherits:
Object
  • Object
show all
Includes:
Sidekiq::Worker
Defined in:
lib/tentd/notifications/sidekiq.rb

Instance Method Summary collapse

Instance Method Details

#perform(msg) ⇒ Object



29
30
31
# File 'lib/tentd/notifications/sidekiq.rb', line 29

def perform(msg)
  Model::NotificationSubscription.notify_entity(msg['entity'], msg['post_id'])
end