Method: RhoDevelopment::AutoUpdatePID#do_POST

Defined in:
lib/build/development/web_server.rb

#do_POST(request, response) ⇒ Object



212
213
214
215
216
217
218
# File 'lib/build/development/web_server.rb', line 212

def do_POST request, response

  puts request.query.to_s
  @instance.auto_update_pid = request.query['pid'].to_i
  response.status = 200
  response.body = "auto_update_pid set to #{@instance.auto_update_pid}"
end