Class: Ring::PingController

Inherits:
ApplicationController show all
Defined in:
app/controllers/ring/ping_controller.rb

Instance Method Summary collapse

Instance Method Details

#showObject



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