lib/mistral_client/workflow.rb in mistral_client-1.0.0 vs lib/mistral_client/workflow.rb in mistral_client-1.1.0

- old
+ new

@@ -19,11 +19,15 @@ @id = id || name reload end end - def execute!(env: nil, task_name: nil) - Execution.new(@server, workflow_id: @id, env: env, task_name: task_name) + def execute!(env: nil, task_name: nil, input: nil) + Execution.new(@server, + workflow_id: @id, + env: env, + task_name: task_name, + input: input) end def valid?(definition) resp = perform_validation(definition) resp['valid']