Module: Schked

Defined in:
lib/schked.rb,
lib/schked/cli.rb,
lib/schked/config.rb,
lib/schked/worker.rb,
lib/schked/railtie.rb,
lib/schked/version.rb,
lib/schked/callbacks.rb,
lib/schked/redis_locker.rb,
lib/schked/schedule_dsl.rb,
lib/schked/job_run_store.rb,
lib/schked/liveness_probe.rb,
lib/schked/adapters/sequel.rb,
lib/schked/database_connection.rb,
lib/schked/migration_generator.rb,
lib/schked/redis_job_run_store.rb,
lib/schked/redis_client_factory.rb,
lib/schked/adapters/active_record.rb

Defined Under Namespace

Modules: DatabaseConnection, JobRunStore, MigrationGenerator, RedisClientFactory Classes: Adapters, CLI, Callbacks, Config, LivenessProbe, LivenessProbeConfig, Railtie, RedisJobRunStore, RedisLocker, ScheduleDSL, Worker

Constant Summary collapse

VERSION =
"2.0.0"

Class Method Summary collapse

Class Method Details

.configObject



25
26
27
# File 'lib/schked.rb', line 25

def config
  @config ||= Config.new
end

.workerObject



29
30
31
# File 'lib/schked.rb', line 29

def worker
  @worker ||= Worker.new(config: config)
end