Last active
July 9, 2020 13:08
-
-
Save tasdikrahman/4d2243d62d0a74c0729b739d0e659f6a to your computer and use it in GitHub Desktop.
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 characters
# app/controllers/health_check_controller.rb | |
class HealthCheckController < ActionController::Base | |
def ping | |
render json: { success: true, errors: nil, data: 'pong' }, status: :ok | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment