trabajo-afectivo/app/controllers/tests_controller.rb

12 lines
246 B
Ruby
Raw Normal View History

2014-02-03 19:24:49 +00:00
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
2012-11-23 08:36:12 +00:00
class TestsController < ApplicationController
# GET /test/wait
def wait
sleep params[:sec].to_i
result = { success: true }
render json: result
2012-11-23 08:36:12 +00:00
end
2015-01-26 06:55:14 +00:00
end