gitlabhq/app/workers/system_hook_worker.rb
2012-07-19 00:25:10 +03:00

8 lines
134 B
Ruby

class SystemHookWorker
@queue = :system_hook
def self.perform(hook_id, data)
SystemHook.find(hook_id).execute data
end
end