Method: Cnvrg::Flows#run
- Defined in:
- lib/cnvrg/flow.rb
#run ⇒ Object
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.("Cant run flow #{@slug}") end |