remove deprecation warning
This commit is contained in:
parent
80d25c219b
commit
18c4bab286
|
@ -34,7 +34,6 @@ module Google
|
||||||
:path
|
:path
|
||||||
|
|
||||||
def initialize(path)
|
def initialize(path)
|
||||||
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 +41,6 @@ module Google
|
||||||
end
|
end
|
||||||
|
|
||||||
def load_credentials
|
def load_credentials
|
||||||
Google::APIClient.logger("DEPRECATED: Please use Storage Class instead.")
|
|
||||||
storage.authorize
|
storage.authorize
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue