Method: WorkflowRESTClient::RemoteStep#exec

Defined in:
lib/rbbt/rest/client/step.rb

#exec(noload = false) ⇒ Object



228
229
230
231
232
233
234
235
236
237
238
# File 'lib/rbbt/rest/client/step.rb', line 228

def exec(noload = false)
  @result ||= begin
                 if noload == :stream
                   _run_job(:exec)
                 else
                   exec_job 
                 end
                ensure
                  @started = true
               end
end