Class: DurableFlow::ChildWorkflowBuilder::Request

Inherits:
Data
  • Object
show all
Defined in:
lib/durable_flow/child_workflow_builder.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#workflow_argsObject (readonly)

Returns the value of attribute workflow_args

Returns:

  • (Object)

    the current value of workflow_args



5
6
7
# File 'lib/durable_flow/child_workflow_builder.rb', line 5

def workflow_args
  @workflow_args
end

#workflow_classObject (readonly)

Returns the value of attribute workflow_class

Returns:

  • (Object)

    the current value of workflow_class



5
6
7
# File 'lib/durable_flow/child_workflow_builder.rb', line 5

def workflow_class
  @workflow_class
end

#workflow_keyObject (readonly)

Returns the value of attribute workflow_key

Returns:

  • (Object)

    the current value of workflow_key



5
6
7
# File 'lib/durable_flow/child_workflow_builder.rb', line 5

def workflow_key
  @workflow_key
end

#workflow_kwargsObject (readonly)

Returns the value of attribute workflow_kwargs

Returns:

  • (Object)

    the current value of workflow_kwargs



5
6
7
# File 'lib/durable_flow/child_workflow_builder.rb', line 5

def workflow_kwargs
  @workflow_kwargs
end

Instance Method Details

#perform_laterObject



6
7
8
# File 'lib/durable_flow/child_workflow_builder.rb', line 6

def perform_later
  workflow_class.perform_later(*workflow_args, **workflow_kwargs)
end