System Hook: implemented
This commit is contained in:
parent
c38578428b
commit
f5908cef19
9 changed files with 100 additions and 10 deletions
7
app/workers/system_hook_worker.rb
Normal file
7
app/workers/system_hook_worker.rb
Normal file
|
@ -0,0 +1,7 @@
|
|||
class SystemHookWorker
|
||||
@queue = :system_hook
|
||||
|
||||
def self.perform(hook_id, data)
|
||||
SystemHook.find(hook_id).execute data
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue