#287 - set default options if not passed in

This commit is contained in:
Steve Bazyl 2015-10-02 13:41:59 -07:00
parent 81a061cb80
commit 859fd8503f
1 changed files with 1 additions and 2 deletions

View File

@ -85,7 +85,7 @@ module Google
#
# @return [Signet::OAuth2::Client]
# Authorization instance, nil if user cancelled.
def authorize(storage=nil, options=nil)
def authorize(storage=nil, options={})
auth = @authorization
server = WEBrick::HTTPServer.new(
@ -125,4 +125,3 @@ module Google
end
end