diff options
author | Valeriy Sizov <vsv2711@gmail.com> | 2012-07-15 15:29:06 +0300 |
---|---|---|
committer | Valeriy Sizov <vsv2711@gmail.com> | 2012-07-19 00:25:10 +0300 |
commit | f5908cef19a3cd2c44be02b453fecb568b2c6c8e (patch) | |
tree | e52c65ff40d483450d10dcf008077c95c1b91b78 /app/workers | |
parent | c38578428b19b6375f24266ea5f4a98ca290eb58 (diff) | |
download | gitlab-ce-f5908cef19a3cd2c44be02b453fecb568b2c6c8e.tar.gz |
System Hook: implemented
Diffstat (limited to 'app/workers')
-rw-r--r-- | app/workers/system_hook_worker.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/workers/system_hook_worker.rb b/app/workers/system_hook_worker.rb new file mode 100644 index 00000000000..ca154136b97 --- /dev/null +++ b/app/workers/system_hook_worker.rb @@ -0,0 +1,7 @@ +class SystemHookWorker + @queue = :system_hook + + def self.perform(hook_id, data) + SystemHook.find(hook_id).execute data + end +end |