Class: TagNotificationsWorker

Inherits:
Object
  • Object
show all
Includes:
Sidekiq::Worker
Defined in:
app/workers/tag_notifications_worker.rb

Instance Method Summary collapse

Instance Method Details

#perform(tag_id) ⇒ Object


5
6
7
# File 'app/workers/tag_notifications_worker.rb', line 5

def perform(tag_id)
  GithubTag.find_by_id(tag_id).try(:send_notifications)
end