Sha256: 11c66183b175e0c4dddf988f84aa4cc5b5763b580dd09abc9acc93d185e77e32

Contents?: true

Size: 371 Bytes

Versions: 5

Compression:

Stored size: 371 Bytes

Contents

module ActiveJob
  module QueueAdapters
    class InlineAdapter
      class << self
        def enqueue(job)
          Base.execute(job.serialize)
        end

        def enqueue_at(*)
          raise NotImplementedError.new("Use a queueing backend to enqueue jobs in the future. Read more at https://github.com/rails/activejob")
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
activejob_backport-0.0.3 lib/active_job/queue_adapters/inline_adapter.rb
passive_job-0.0.3 lib/active_job/queue_adapters/inline_adapter.rb
passive_job-0.0.2 lib/active_job/queue_adapters/inline_adapter.rb
activejob_backport-0.0.2 lib/active_job/queue_adapters/inline_adapter.rb
activejob_backport-0.0.1 lib/active_job/queue_adapters/inline_adapter.rb