Sha256: d39e4532696a3ad52425f3af9c260bf9ff0044f87386e766fc5318b8ed92ffad

Contents?: true

Size: 225 Bytes

Versions: 3

Compression:

Stored size: 225 Bytes

Contents

class HealthcheckController < ApplicationController
  def ping
    respond_to do |format|
      format.html { render plain: 'OK', status: :ok }
      format.json { render json: { ping: 'OK' }, status: :ok }
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
station-0.5.16 lib/nexmo_developer/app/controllers/healthcheck_controller.rb
station-0.5.15 lib/nexmo_developer/app/controllers/healthcheck_controller.rb
station-0.5.14 lib/nexmo_developer/app/controllers/healthcheck_controller.rb