Sha256: 80e30861cfe01a12f763225f6e6f9b141e45277bde489b042794c1b1de261d7b

Contents?: true

Size: 461 Bytes

Versions: 4

Compression:

Stored size: 461 Bytes

Contents

module Sentry
  class Configuration
    attr_reader :inst_jobs

    add_post_initialization_callback do
      @inst_jobs = Sentry::InstJobs::Configuration.new
    end
  end

  module InstJobs
    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

4 entries across 4 versions & 1 rubygems

Version Path
sentry-inst_jobs-5.10.0 lib/sentry/inst_jobs/configuration.rb
sentry-inst_jobs-1.0.2 lib/sentry/inst_jobs/configuration.rb
sentry-inst_jobs-1.0.1 lib/sentry/inst_jobs/configuration.rb
sentry-inst_jobs-1.0.0 lib/sentry/inst_jobs/configuration.rb