Fix typo constant

This commit is contained in:
Heng Xiong 2017-09-18 10:31:47 -07:00
parent c9a1805b69
commit 358ef906f7
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