Sha256: a07c19aa0599f16fae8821747efed6ddda37d1e7f95cd2707aa3f3fe6a1c5c0f

Contents?: true

Size: 355 Bytes

Versions: 3

Compression:

Stored size: 355 Bytes

Contents

require 'active_support'

require_relative 'delayed_job_master/version'
require_relative 'delayed_job_master/railtie' if defined?(Rails)

module DelayedJobMaster
  mattr_accessor :config, default: ActiveSupport::InheritableOptions.new
  config.listener = :postgresql if defined?(PG)

  class << self
    def configure
      yield config
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
delayed_job_master-3.1.0 lib/delayed_job_master.rb
delayed_job_master-3.0.1 lib/delayed_job_master.rb
delayed_job_master-3.0.0 lib/delayed_job_master.rb