8 lines
134 B
Ruby
8 lines
134 B
Ruby
class SystemHookWorker
|
|
@queue = :system_hook
|
|
|
|
def self.perform(hook_id, data)
|
|
SystemHook.find(hook_id).execute data
|
|
end
|
|
end
|