Sha256: dbb2143fa5413982953d17b8309a125ee57284a6f0870197e71764ccd5abc585

Contents?: true

Size: 263 Bytes

Versions: 4

Compression:

Stored size: 263 Bytes

Contents

module Journaled
  class << self
    def enqueue!(*args)
      delayed_job_enqueue(*args)
    end

    private

    def delayed_job_enqueue(*args, **opts)
      Delayed::Job.enqueue(*args, **opts.reverse_merge(priority: Journaled.job_priority))
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
journaled-2.5.0 lib/journaled/enqueue.rb
journaled-2.4.0 lib/journaled/enqueue.rb
journaled-2.3.1 lib/journaled/enqueue.rb
journaled-2.3.0 lib/journaled/enqueue.rb