10 lines
176 B
Ruby
10 lines
176 B
Ruby
|
class ProjectWebHookWorker
|
||
|
include Sidekiq::Worker
|
||
|
|
||
|
sidekiq_options queue: :project_web_hook
|
||
|
|
||
|
def perform(hook_id, data)
|
||
|
WebHook.find(hook_id).execute data
|
||
|
end
|
||
|
end
|