added deprecation warnings to file_storage
This commit is contained in:
1 parent
0e9637c77c
commit
34d3c18fed
1 file changed
+6
@@ -34,11 +34,17 @@ module Google
|
||||
:path
|
||||
|
||||
def initialize(path)
|
||||
Google::ApiClient.logger("DEPRECATED: Please use Storage Class instead.")
|
||||
@path = path
|
||||
store = Google::APIClient::FileStore.new(@path)
|
||||
@storage = Google::APIClient::Storage.new(store)
|
||||
end
|
||||
|
||||
def load_credentials
|
||||
Google::ApiClient.logger("DEPRECATED: Please use Storage Class instead.")
|
||||
storage.authorize
|
||||
end
|
||||
|
||||
def authorization
|
||||
storage.authorization
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user