Sha256: 54285008b3e6ac59e9d3013d31d5050525d5158581a36c43a505ffdeb41ccbee

Contents?: true

Size: 289 Bytes

Versions: 5

Compression:

Stored size: 289 Bytes

Contents

# frozen_string_literal: true

Isolator.isolate :active_job,
  target: ActiveJob::Base,
  method_name: :enqueue,
  exception_class: Isolator::BackgroundJobError,
  details_message: ->(obj) {
    "#{obj.class.name}" \
    "#{obj.arguments.any? ? " (#{obj.arguments.join(", ")})" : ""}"
  }

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
isolator-1.0.1 lib/isolator/adapters/background_jobs/active_job.rb
isolator-1.0.0 lib/isolator/adapters/background_jobs/active_job.rb
isolator-0.11.0 lib/isolator/adapters/background_jobs/active_job.rb
isolator-0.10.0 lib/isolator/adapters/background_jobs/active_job.rb
isolator-0.9.0 lib/isolator/adapters/background_jobs/active_job.rb