mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
still trying to figure out 1.8.7 support
This commit is contained in:
parent
870bf996e8
commit
5bf059589b
1 changed files with 3 additions and 3 deletions
|
@ -79,10 +79,10 @@ module Fog
|
|||
@api_url = base_url + api_version + '/projects/'
|
||||
key = ::Google::APIClient::KeyUtils.load_from_pkcs12(File.expand_path(options[:google_key_location]), 'notasecret')
|
||||
|
||||
@client = ::Google::APIClient.new(
|
||||
@client = ::Google::APIClient.new({
|
||||
:application_name => "fog",
|
||||
:application_version => Fog::VERSION
|
||||
)
|
||||
:application_version => Fog::VERSION,
|
||||
})
|
||||
@client.authorization = Signet::OAuth2::Client.new(
|
||||
:audience => 'https://accounts.google.com/o/oauth2/token',
|
||||
:auth_provider_x509_cert_url => "https://www.googleapis.com/oauth2/v1/certs",
|
||||
|
|
Loading…
Add table
Reference in a new issue