Sha256: 6bf6464bb86d2161e339e1c2b5afc0ace40aee944421254fe3c2df26c4cee2a9

Contents?: true

Size: 239 Bytes

Versions: 4

Compression:

Stored size: 239 Bytes

Contents

module DelayedJobWorkerPool
  module Worker
    extend self

    def run(options = {})
      dj_worker = Delayed::Worker.new(options)
      dj_worker.name = options[:name] if options.include?(:name)
      dj_worker.start
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
delayed_job_worker_pool-0.2.3 lib/delayed_job_worker_pool/worker.rb
delayed_job_worker_pool-0.2.2 lib/delayed_job_worker_pool/worker.rb
delayed_job_worker_pool-0.2.1 lib/delayed_job_worker_pool/worker.rb
delayed_job_worker_pool-0.2.0 lib/delayed_job_worker_pool/worker.rb