app/controllers/api/v1/lookups_controller.rb
# GET /ping
# Ping the application
GET /ping
Ping the application
GET / ping Ping the application
def ping
    render json: {
      message: "OK",
      time: DateTime.current.strftime("%Q")
    }
  end
def ping render json : { message : "OK" , time : DateTime . current . strftime ( "%Q" ) } end
GET /ping
Ping the application
GET / ping Ping the application