Skip to content

Commit 6404615

Browse files
committed
uses new initialize and authorize
1 parent 5c61e39 commit 6404615

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/google/api_client/auth/file_storage.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ def initialize(path)
3838
@path = path
3939
store = Google::APIClient::FileStore.new(@path)
4040
@storage = Google::APIClient::Storage.new(store)
41+
@storage.authorize
4142
end
4243

4344
def load_credentials

0 commit comments

Comments
 (0)