Fix rubocop errors with line length

This commit is contained in:
Steven Bazyl 2015-12-10 12:47:13 -08:00
parent b46a7dc82c
commit 9b34943655
1 changed files with 5 additions and 4 deletions

View File

@ -44,16 +44,17 @@ module Google
# user_id = request.session['user_email']
# credentials = authorizer.get_credentials(user_id, request)
# 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
# # Credentials are valid, can call APIs
# ...
# end
#
# get('/oauth2callback') do
# target_url = Google::Auth::WebUserAuthorizer.handle_auth_callback_deferred(
# url = Google::Auth::WebUserAuthorizer.handle_auth_callback_deferred(
# request)
# redirect target_url
# redirect url
# end
#
# Instead of implementing the callback directly, applications are