Sha256: 373563a0872bf27f17d8a203d06446bea3e944b91f7f369dbf0e2e8460073330
Contents?: true
Size: 401 Bytes
Versions: 9
Compression:
Stored size: 401 Bytes
Contents
# frozen_string_literal: true class RailsPing::PingController < ActionController::Base def ping map = { hostname: Socket.gethostname, revision: ENV['HEROKU_SLUG_COMMIT'], version: ENV['HEROKU_RELEASE_VERSION'], created_at: ENV['HEROKU_RELEASE_CREATED_AT'], application: ENV['HEROKU_APP_NAME'], current_time: Time.current } render json: map end end
Version data entries
9 entries across 9 versions & 1 rubygems