Class: Barbeque::JobRetry
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Barbeque::JobRetry
- Defined in:
- app/models/barbeque/job_retry.rb
Instance Method Summary collapse
-
#execution_log ⇒ Hash
-
A hash created by ‘JobExecutor::Retry#log_result`.
-
- #to_resource ⇒ Object
Instance Method Details
#execution_log ⇒ Hash
Returns - A hash created by ‘JobExecutor::Retry#log_result`.
17 18 19 |
# File 'app/models/barbeque/job_retry.rb', line 17 def execution_log @execution_log ||= Barbeque::ExecutionLog.load(execution: self) end |
#to_resource ⇒ Object
21 22 23 |
# File 'app/models/barbeque/job_retry.rb', line 21 def to_resource Barbeque::Api::JobRetryResource.new(self) end |