Fix rubocop errors with line length
This commit is contained in:
parent
b46a7dc82c
commit
9b34943655
|
@ -44,16 +44,17 @@ module Google
|
||||||
# user_id = request.session['user_email']
|
# user_id = request.session['user_email']
|
||||||
# credentials = authorizer.get_credentials(user_id, request)
|
# credentials = authorizer.get_credentials(user_id, request)
|
||||||
# if credentials.nil?
|
# if credentials.nil?
|
||||||
# redirect authorizer.get_authorization_url(user_id: user_id, request: request)
|
# redirect authorizer.get_authorization_url(user_id: user_id,
|
||||||
|
# request: request)
|
||||||
# end
|
# end
|
||||||
# # Credentials are valid, can call APIs
|
# # Credentials are valid, can call APIs
|
||||||
# ...
|
# ...
|
||||||
# end
|
# end
|
||||||
#
|
#
|
||||||
# get('/oauth2callback') do
|
# get('/oauth2callback') do
|
||||||
# target_url = Google::Auth::WebUserAuthorizer.handle_auth_callback_deferred(
|
# url = Google::Auth::WebUserAuthorizer.handle_auth_callback_deferred(
|
||||||
# request)
|
# request)
|
||||||
# redirect target_url
|
# redirect url
|
||||||
# end
|
# end
|
||||||
#
|
#
|
||||||
# Instead of implementing the callback directly, applications are
|
# Instead of implementing the callback directly, applications are
|
||||||
|
|
Loading…
Reference in New Issue