class Cadence::Metadata::Workflow

Attributes

attempt[R]
headers[R]
name[R]
run_id[R]
timeouts[R]

Public Class Methods

new(name:, run_id:, attempt:, timeouts:, headers: {}) click to toggle source
# File lib/cadence/metadata/workflow.rb, line 8
def initialize(name:, run_id:, attempt:, timeouts:, headers: {})
  @name = name
  @run_id = run_id
  @attempt = attempt
  @headers = headers
  @timeouts = timeouts

  freeze
end

Public Instance Methods

workflow?() click to toggle source
# File lib/cadence/metadata/workflow.rb, line 18
def workflow?
  true
end