Class: Sentry::DelayedJob::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/sentry/delayed_job/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



18
19
20
# File 'lib/sentry/delayed_job/configuration.rb', line 18

def initialize
  @report_after_job_retries = false
end

Instance Attribute Details

#report_after_job_retriesObject

Set this option to true if you want Sentry to only capture the last job retry if it fails.



16
17
18
# File 'lib/sentry/delayed_job/configuration.rb', line 16

def report_after_job_retries
  @report_after_job_retries
end