gitlabhq/app/workers/system_hook_worker.rb

8 lines
134 B
Ruby
Raw Normal View History

2012-07-15 14:29:06 +02:00
class SystemHookWorker
@queue = :system_hook
def self.perform(hook_id, data)
SystemHook.find(hook_id).execute data
end
end