Module: Beez
- Extended by:
- Configurable, Loggable
- Defined in:
- lib/beez.rb,
lib/beez/cli.rb,
lib/beez/rails.rb,
lib/beez/client.rb,
lib/beez/worker.rb,
lib/beez/version.rb,
lib/beez/launcher.rb,
lib/beez/loggable.rb,
lib/beez/processor.rb,
lib/beez/supervisor.rb,
lib/beez/configurable.rb,
lib/beez/configuration.rb
Defined Under Namespace
Modules: Configurable, Loggable, Worker
Classes: CLI, Client, Configuration, Launcher, Processor, Rails, Supervisor
Constant Summary
collapse
- VERSION =
'0.2.0'.freeze
Class Method Summary
collapse
config, configure
Methods included from Loggable
logger, logger=, setup_logger
Class Method Details
.client ⇒ Object
21
22
23
|
# File 'lib/beez.rb', line 21
def self.client
@client ||= ::Beez::Client.new
end
|
.register_worker(worker) ⇒ Object
13
14
15
|
# File 'lib/beez.rb', line 13
def self.register_worker(worker)
workers << worker
end
|
.workers ⇒ Object
17
18
19
|
# File 'lib/beez.rb', line 17
def self.workers
@workers ||= []
end
|