Method: Webhookdb::Async.setup_web

Defined in:
lib/webhookdb/async.rb

.setup_webObject

Set up async for the web/client side of things. This performs common Amigo config, and sets up the routing/auditing jobs.

Note that we must also require all async jobs, since in some cases we may have sidekiq middleware that needs access to the actual job class, so it must be available.



90
91
92
93
94
95
# File 'lib/webhookdb/async.rb', line 90

def self.setup_web
  self._setup_common
  Amigo.install_amigo_jobs
  self._require_jobs
  return true
end