bugfix file_storage
This commit is contained in:
parent
53be124a6f
commit
80d25c219b
|
@ -34,7 +34,7 @@ module Google
|
||||||
:path
|
:path
|
||||||
|
|
||||||
def initialize(path)
|
def initialize(path)
|
||||||
Google::ApiClient.logger("DEPRECATED: Please use Storage Class instead.")
|
Google::APIClient.logger("DEPRECATED: Please use Storage Class instead.")
|
||||||
@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)
|
||||||
|
@ -42,7 +42,7 @@ module Google
|
||||||
end
|
end
|
||||||
|
|
||||||
def load_credentials
|
def load_credentials
|
||||||
Google::ApiClient.logger("DEPRECATED: Please use Storage Class instead.")
|
Google::APIClient.logger("DEPRECATED: Please use Storage Class instead.")
|
||||||
storage.authorize
|
storage.authorize
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue