Module: BackRun

Defined in:
lib/back_run.rb,
lib/back_run/job.rb,
lib/back_run/pubsub.rb,
lib/back_run/worker.rb,
lib/back_run/adapter.rb,
lib/back_run/version.rb,
lib/back_run/metrics_collector.rb

Defined Under Namespace

Classes: Adapter, Job, MetricsCollector, Pubsub, Worker

Constant Summary collapse

VERSION =
'0.1.0'.freeze

Class Method Summary collapse

Class Method Details

.loggerObject



7
8
9
# File 'lib/back_run.rb', line 7

def self.logger
  @logger ||= Logger.new(STDOUT)
end

.logger=(logger) ⇒ Object



11
12
13
# File 'lib/back_run.rb', line 11

def self.logger=(logger)
  @logger = logger
end

.pubsubObject



15
16
17
# File 'lib/back_run.rb', line 15

def self.pubsub
  @pubsub ||= Pubsub.new
end