Method: CPEE::DeleteInstance#response
- Defined in:
- lib/cpee/implementation.rb
#response ⇒ Object
{{{
249 250 251 252 253 254 255 256 257 258 259 |
# File 'lib/cpee/implementation.rb', line 249 def response controller = @a[0] opts = @a[1] id = @r[0].to_i unless controller[id] @status = 400 return end controller.delete(id) FileUtils.rm_r(opts[:instances] + "/#{@r[0]}") end |