Class: EVSS::DisabilityCompensationForm::Job
- Inherits:
-
Object
- Object
- EVSS::DisabilityCompensationForm::Job
- 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.
Direct Known Subclasses
CentralMail::SubmitForm4142Job, SubmitForm0781, SubmitForm526, SubmitForm526Cleanup, SubmitForm8940, SubmitUploads, UploadBddInstructions
Constant Summary
Constants included from Sidekiq::Form526JobStatusTracker::JobTracker
Sidekiq::Form526JobStatusTracker::JobTracker::STATSD_KEY_PREFIX
Instance Method Summary collapse
-
#perform(submission_id) ⇒ Object
Sub-classes should call super so that @submission id is available as an instance variable.
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
16 17 18 |
# File 'app/sidekiq/evss/disability_compensation_form/job.rb', line 16 def perform(submission_id) @submission_id = submission_id end |