signup_wf = Example::Signup::SignupWorkflow.new( create_user: { name: 'Harry Potter', dob: '31-07-1980' }, notify_user: {}, notify_admin: { admin: Example::Signup::Models::Admin.get } ) signup_wf.run signup_wf.status -> [:ok, :ok, :fail] signup_wf.output -> ["Harry Potter is successfully created.", "Harry Potter is notified", "Admin is notified"] signup_wf.state -> Models::User.new(name: 'Harry Potter', ...)
Workflows::VERSION
included, #initialize, #output, #run, #state, #status