Class: HealthcheckController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- HealthcheckController
- Defined in:
- lib/nexmo_developer/app/controllers/healthcheck_controller.rb
Constant Summary
Constants included from ApplicationHelper
Instance Method Summary collapse
Methods inherited from ApplicationController
#authenticate_admin!, #not_found, #redirect_vonage_domain
Methods included from ApplicationHelper
#active_sidenav_item, #canonical_base, #canonical_base_from_config, #canonical_path, #canonical_url, #dashboard_cookie, #search_enabled?, #set_utm_cookie, #theme
Instance Method Details
#ping ⇒ Object
2 3 4 5 6 7 |
# File 'lib/nexmo_developer/app/controllers/healthcheck_controller.rb', line 2 def ping respond_to do |format| format.html { render plain: 'OK', status: :ok } format.json { render json: { ping: 'OK' }, status: :ok } end end |