Class: OpsController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- OpsController
- Defined in:
- app/controllers/ops_controller.rb
Instance Method Summary collapse
Instance Method Details
#configuration ⇒ Object
13 14 15 |
# File 'app/controllers/ops_controller.rb', line 13 def configuration render :text => OpsRoutes.check_configuration end |
#heartbeat ⇒ Object
8 9 10 11 |
# File 'app/controllers/ops_controller.rb', line 8 def heartbeat response.content_type = "text/plain" render OpsRoutes.check_heartbeat(params[:name]) end |
#version ⇒ Object
4 5 6 |
# File 'app/controllers/ops_controller.rb', line 4 def version render :text => OpsRoutes.check_version(request.headers) end |