Class: Ring::PingController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Ring::PingController
- Defined in:
- app/controllers/ring/ping_controller.rb
Instance Method Summary collapse
Instance Method Details
#show ⇒ Object
5 6 7 8 9 10 |
# File 'app/controllers/ring/ping_controller.rb', line 5 def show respond_to do |format| format.html { render plain: hash_to_text(status_content), status: status_code } format.json { render json: status_content, status: status_code } end end |