Merge pull request #121 from hxiong388/fix-typo-constant

Fix typo constant
This commit is contained in:
Heng Xiong 2017-09-18 15:28:06 -07:00 committed by GitHub
commit 7ee081052d
1 changed files with 1 additions and 1 deletions

View File

@ -276,7 +276,7 @@ module Google
def redirect_uri_for(base_url)
return @callback_uri unless URI(@callback_uri).scheme.nil?
if base_url.nil? || URI(base_url).scheme.nil?
raise sprintf(ISSING_ABSOLUTE_URL_ERROR, @callback_uri)
raise sprintf(MISSING_ABSOLUTE_URL_ERROR, @callback_uri)
end
URI.join(base_url, @callback_uri).to_s
end