Fix typo constant
This commit is contained in:
parent
c9a1805b69
commit
358ef906f7
|
@ -276,7 +276,7 @@ module Google
|
||||||
def redirect_uri_for(base_url)
|
def redirect_uri_for(base_url)
|
||||||
return @callback_uri unless URI(@callback_uri).scheme.nil?
|
return @callback_uri unless URI(@callback_uri).scheme.nil?
|
||||||
if base_url.nil? || URI(base_url).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
|
end
|
||||||
URI.join(base_url, @callback_uri).to_s
|
URI.join(base_url, @callback_uri).to_s
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue