Class: Smith::Workflow::Composite::Planner

Inherits:
Object
  • Object
show all
Extended by:
Dry::Initializer
Defined in:
lib/smith/workflow/composite/planner.rb

Instance Method Summary collapse

Instance Method Details

#callObject



23
24
25
26
27
28
29
30
31
32
33
34
35
# File 'lib/smith/workflow/composite/planner.rb', line 23

def call
  Plan.validate_branch_count!(branch_specs)
  Plan.build(
    dispatch:,
    kind:,
    transition:,
    from:,
    execution_namespace:,
    branches: build_branches,
    input_digest:,
    budget_state_digest:
  )
end