uses new initialize and authorize
This commit is contained in:
parent
5c61e39ba4
commit
6404615a57
|
@ -38,6 +38,7 @@ module Google
|
||||||
@path = path
|
@path = path
|
||||||
store = Google::APIClient::FileStore.new(@path)
|
store = Google::APIClient::FileStore.new(@path)
|
||||||
@storage = Google::APIClient::Storage.new(store)
|
@storage = Google::APIClient::Storage.new(store)
|
||||||
|
@storage.authorize
|
||||||
end
|
end
|
||||||
|
|
||||||
def load_credentials
|
def load_credentials
|
||||||
|
|
Loading…
Reference in New Issue