Method: Cnvrg::Flows#run

Defined in:
lib/cnvrg/flow.rb

#runObject



106
107
108
109
110
111
112
# File 'lib/cnvrg/flow.rb', line 106

def run
  resp = Cnvrg::API.request("#{@base_resource}/#{@slug}/run", 'POST')
  if Cnvrg::CLI.is_response_success(resp)
    return resp
  end
  Cnvrg::CLI.log_message("Cant run flow #{@slug}")
end