Method: Cf::Production#resume
- Defined in:
- lib/cf/cli/production.rb
#resume ⇒ Object
276 277 278 279 280 281 282 283 284 285 286 287 288 289 |
# File 'lib/cf/cli/production.rb', line 276 def resume set_target_uri(false) set_api_key CF.account_name = CF::Account.info['name'] result = CF::Run.resume(['run_title'].parameterize) if result['error'].present? say("Error: #{result['error']['message']}", :red) and exit(1) end # if result.status == "resumed" say("Run with title \"#{result['title']}\" is resumed!", :green) # end end |