Sha256: 8c104990220a4df5b41c881b1914d713a7ea07e1bdc479486c74b32edc2fc5a9

Contents?: true

Size: 359 Bytes

Versions: 5

Compression:

Stored size: 359 Bytes

Contents

module ActiveJob # :nodoc:
  module QueueAdapters # :nodoc:
    # See {GoodJob::Adapter} for details.
    class GoodJobAdapter < GoodJob::Adapter
      def initialize(**options)
        configuration = GoodJob::Configuration.new(options, env: ENV)
        super(**options.merge(execution_mode: configuration.rails_execution_mode))
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
good_job-1.8.0 lib/active_job/queue_adapters/good_job_adapter.rb
good_job-1.7.1 lib/active_job/queue_adapters/good_job_adapter.rb
good_job-1.7.0 lib/active_job/queue_adapters/good_job_adapter.rb
good_job-1.6.0 lib/active_job/queue_adapters/good_job_adapter.rb
good_job-1.5.0 lib/active_job/queue_adapters/good_job_adapter.rb