uses new initialize and authorize
authorVolker Zöpfel <volker@zoepfel.de>
Mon, 18 Nov 2013 10:39:40 +0000 (11:39 +0100)
committerVolker Zöpfel <volker@zoepfel.de>
Mon, 18 Nov 2013 10:39:40 +0000 (11:39 +0100)
lib/google/api_client/auth/file_storage.rb

index b87bb2e095e84dfc1eab602f001dce3da4c1b9de..771ebac7c22ad3834eba7fc9b8400770355c29f7 100644 (file)
@@ -38,6 +38,7 @@ module Google
         @path = path
         store = Google::APIClient::FileStore.new(@path)
         @storage = Google::APIClient::Storage.new(store)
+        @storage.authorize
       end
 
       def load_credentials