Module: AeActiveJobState::HasJobState
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/ae_active_job_state/has_job_state.rb
Instance Method Summary collapse
Instance Method Details
#set_job_progress!(progress) ⇒ Object
49 50 51 |
# File 'lib/ae_active_job_state/has_job_state.rb', line 49 def set_job_progress!(progress) job_state.update!(progress: progress) end |
#set_job_result!(result) ⇒ Object
53 54 55 |
# File 'lib/ae_active_job_state/has_job_state.rb', line 53 def set_job_result!(result) job_state.update!(result: result) end |