Created
July 9, 2020 13:19
-
-
Save tasdikrahman/88a9a18b009d1e4ec10f3a3bc0eee086 to your computer and use it in GitHub Desktop.
Revisions
-
tasdikrahman created this gist
Jul 9, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ # app/controllers/health_check_controller.rb class HealthCheckController < ActionController::Base def ping Rails.logger.info("bazbar, request-id: #{request.request_id}") render json: { success: true, errors: nil, data: 'pong' }, status: :ok end end