1 2 3 4 5 6 7
class SystemHookPushWorker include ApplicationWorker def perform(push_data, hook_id) SystemHooksService.new.execute_hooks(push_data, hook_id) end end