9 lines
176 B
Ruby
9 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
|