10 lines
177 B
Ruby
10 lines
177 B
Ruby
![]() |
class ProjectServiceWorker
|
||
|
include Sidekiq::Worker
|
||
|
|
||
|
sidekiq_options queue: :project_web_hook
|
||
|
|
||
|
def perform(hook_id, data)
|
||
|
Service.find(hook_id).execute(data)
|
||
|
end
|
||
|
end
|