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

Methods included from Configurable

config, configure

Methods included from Loggable

logger, logger=, setup_logger

Class Method Details

.clientObject



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

.workersObject



17
18
19
# File 'lib/beez.rb', line 17

def self.workers
  @workers ||= []
end