9 lines
155 B
Ruby
9 lines
155 B
Ruby
module Ci
|
|
class WebHookWorker
|
|
include Sidekiq::Worker
|
|
|
|
def perform(hook_id, data)
|
|
Ci::WebHook.find(hook_id).execute data
|
|
end
|
|
end
|
|
end
|