Class: EVSS::DisabilityCompensationForm::Job

Inherits:
Object
  • Object
show all
Includes:
JobStatus, Sidekiq::Job
Defined in:
app/sidekiq/evss/disability_compensation_form/job.rb

Overview

Base class for jobs involved in the 526 submission workflow. Mixes in the JobStatus module so all sub-classes have automatic metrics and logging.

Constant Summary

Constants included from Sidekiq::Form526JobStatusTracker::JobTracker

Sidekiq::Form526JobStatusTracker::JobTracker::STATSD_KEY_PREFIX

Instance Method Summary collapse

Methods included from Sidekiq::Form526JobStatusTracker::JobTracker

#job_success, #job_try, #non_retryable_error_handler, #retryable_error_handler, #with_tracking

Methods included from Sidekiq::Form526JobStatusTracker::BackupSubmission

#send_backup_submission_if_enabled

Methods included from SentryLogging

#log_exception_to_sentry, #log_message_to_sentry, #non_nil_hash?, #normalize_level, #rails_logger

Instance Method Details

#perform(submission_id) ⇒ Object

Sub-classes should call super so that @submission id is available as an instance variable

Parameters:



16
17
18
# File 'app/sidekiq/evss/disability_compensation_form/job.rb', line 16

def perform(submission_id)
  @submission_id = submission_id
end