Module: RoundhouseUi::Demo
- Defined in:
- lib/roundhouse_ui/demo.rb
Overview
Workers that do real work and really fail, so a console has something to show.
NOT loaded by require "roundhouse_ui". Ask for it explicitly, in an
initializer you would not ship:
require "roundhouse_ui/demo" if Rails.env.development?
Then drive it with rake roundhouse_ui:demo:load[10].
Each class refuses to run outside development or test. A worker that sleeps for twelve seconds and then raises is a fine thing to have in a demo and a bad thing to have reachable in production, and "nobody will enqueue it" is not a control.
Defined Under Namespace
Classes: Base, CheckoutWorker, DigestMailerWorker, EmbeddingWorker, GamificationWorker, ReindexWorker, TranscodeWorker
Constant Summary collapse
- ALL =
[ CheckoutWorker, DigestMailerWorker, ReindexWorker, TranscodeWorker, EmbeddingWorker, GamificationWorker ].freeze