Class: Smplkit::Jobs::RunRetry

Inherits:
Struct
  • Object
show all
Defined in:
lib/smplkit/jobs/models.rb

Overview

Where a RETRY run sits in its retry chain (read-only).

Instance Attribute Summary collapse

Instance Attribute Details

#attemptInteger

Returns Which retry this run is — 1 for the first retry, 2 for the second, and so on.

Returns:

  • (Integer)

    Which retry this run is — 1 for the first retry, 2 for the second, and so on.



766
# File 'lib/smplkit/jobs/models.rb', line 766

RunRetry = Struct.new(:of, :attempt, keyword_init: true)

#ofString

Returns Id of the chain’s original run — the first attempt that failed and started the chain.

Returns:

  • (String)

    Id of the chain’s original run — the first attempt that failed and started the chain.



766
# File 'lib/smplkit/jobs/models.rb', line 766

RunRetry = Struct.new(:of, :attempt, keyword_init: true)