Class: Form526JobStatus
Constant Summary
collapse
- STATUS =
{
try: 'try',
success: 'success',
retryable_error: 'retryable_error',
non_retryable_error: 'non_retryable_error',
exhausted: 'exhausted'
}.freeze
Instance Method Summary
collapse
descendants_using_encryption, lockbox_options, #timestamp_attributes_for_update_in_model, #valid?
Instance Method Details
#success? ⇒ Boolean
18
19
20
|
# File 'app/models/form526_job_status.rb', line 18
def success?
status == STATUS[:success]
end
|
#unsuccessful? ⇒ Boolean
22
23
24
|
# File 'app/models/form526_job_status.rb', line 22
def unsuccessful?
!success?
end
|