Method: CF::Run.destroy

Defined in:
lib/cf/run.rb

.destroy(run_title) ⇒ Object

Deletes the production run

Usage Example:

delete_run = CF::Run.destroy("run_title")


238
239
240
241
242
# File 'lib/cf/run.rb', line 238

def self.destroy(run_title)
  resp = delete("/runs/#{CF.}/#{run_title}.json")
  @errors = resp['error']['message'] if resp['code'] != 200
  return resp
end