1
0
Fork 0
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:
Nat Welch 2013-03-12 16:44:17 -07:00
parent 870bf996e8
commit 5bf059589b

View file

@ -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",