Class: Sentry::InstJobs::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



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

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.



14
15
16
# File 'lib/sentry/inst_jobs/configuration.rb', line 14

def report_after_job_retries
  @report_after_job_retries
end