lib/mistral_client/workflow.rb in mistral_client-1.3.0 vs lib/mistral_client/workflow.rb in mistral_client-2.0.0

- old
+ new

@@ -9,9 +9,10 @@ include MistralClient::Mixins::MistralObject include MistralClient::Mixins::Definable include MistralClient::Mixins::Deletable def initialize(server, definition = nil, id: nil, name: nil) + super() @server = server if definition @definition = parse_definition(definition) create_workflow elsif id || name