Sha256: 988abc787ecc8a0ed485dad3f428dbb7235c7edd3badb1d134e81d61d0a54ba5

Contents?: true

Size: 469 Bytes

Versions: 60

Compression:

Stored size: 469 Bytes

Contents

module Sentry
  class Configuration
    attr_reader :delayed_job

    add_post_initialization_callback do
      @delayed_job = Sentry::DelayedJob::Configuration.new
    end
  end

  module DelayedJob
    class Configuration
      # Set this option to true if you want Sentry to only capture the last job
      # retry if it fails.
      attr_accessor :report_after_job_retries

      def initialize
        @report_after_job_retries = false
      end
    end
  end
end

Version data entries

60 entries across 60 versions & 1 rubygems

Version Path
sentry-delayed_job-5.8.0 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-5.7.0 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-5.6.0 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-5.5.0 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-5.4.2 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-5.4.1 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-5.4.0 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-5.3.1 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-5.3.0 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-5.2.1 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-5.2.0 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-5.1.1 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-5.1.0 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-5.0.2 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-5.0.1 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-5.0.0 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-4.9.2 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-4.9.1 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-4.9.0 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-4.8.3 lib/sentry/delayed_job/configuration.rb