Class: Smplkit::Jobs::RunRetry
- Inherits:
-
Struct
- Object
- Struct
- Smplkit::Jobs::RunRetry
- Defined in:
- lib/smplkit/jobs/models.rb
Overview
Where a RETRY run sits in its retry chain (read-only).
Instance Attribute Summary collapse
-
#attempt ⇒ Integer
Which retry this run is —
1for the first retry,2for the second, and so on. -
#of ⇒ String
Id of the chain’s original run — the first attempt that failed and started the chain.
Instance Attribute Details
#attempt ⇒ Integer
Returns Which retry this run is — 1 for the first retry, 2 for the second, and so on.
806 |
# File 'lib/smplkit/jobs/models.rb', line 806 RunRetry = Struct.new(:of, :attempt, keyword_init: true) |
#of ⇒ String
Returns Id of the chain’s original run — the first attempt that failed and started the chain.
806 |
# File 'lib/smplkit/jobs/models.rb', line 806 RunRetry = Struct.new(:of, :attempt, keyword_init: true) |