class Cadence::Metadata::Activity
Attributes
attempt[R]
domain[R]
headers[R]
id[R]
name[R]
task_token[R]
timeouts[R]
workflow_id[R]
workflow_name[R]
workflow_run_id[R]
Public Class Methods
new(domain:, id:, name:, task_token:, attempt:, workflow_run_id:, workflow_id:, workflow_name:, timeouts:, headers: {})
click to toggle source
# File lib/cadence/metadata/activity.rb, line 8 def initialize(domain:, id:, name:, task_token:, attempt:, workflow_run_id:, workflow_id:, workflow_name:, timeouts:, headers: {}) @domain = domain @id = id @name = name @task_token = task_token @attempt = attempt @workflow_run_id = workflow_run_id @workflow_id = workflow_id @workflow_name = workflow_name @timeouts = timeouts @headers = headers freeze end
Public Instance Methods
activity?()
click to toggle source
# File lib/cadence/metadata/activity.rb, line 23 def activity? true end