Class: OpsController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/ops_controller.rb

Instance Method Summary collapse

Instance Method Details

#configurationObject



13
14
15
# File 'app/controllers/ops_controller.rb', line 13

def configuration
  render :text => OpsRoutes.check_configuration
end

#heartbeatObject



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

#versionObject



4
5
6
# File 'app/controllers/ops_controller.rb', line 4

def version
  render :text => OpsRoutes.check_version(request.headers)
end