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