Class: SystemHookWorker

Inherits:
Object
  • Object
show all
Includes:
Sidekiq::Worker
Defined in:
app/workers/system_hook_worker.rb

Instance Method Summary collapse

Instance Method Details

#perform(hook_id, data, hook_name) ⇒ Object


6
7
8
# File 'app/workers/system_hook_worker.rb', line 6

def perform(hook_id, data, hook_name)
  SystemHook.find(hook_id).execute(data, hook_name)
end