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
def handle_api_auth_operation(route) | |
operation_name = request.params["operationName"] | |
return if operation_name.blank? | |
# Set POST as default http_method | |
http_method = "POST" | |
path = '' | |
case operation_name | |
when 'Authenticate' | |
path = '/login' |