mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
load file appropriately.
This commit is contained in:
parent
afa9b025e9
commit
8944e4c077
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ module Fog
|
|||
@project = options[:google_project]
|
||||
google_client_email = options[:google_client_email]
|
||||
@api_url = base_url + api_version + '/projects/'
|
||||
key = ::Google::APIClient::KeyUtils.load_from_pkcs12(options[:google_key_location], 'notasecret')
|
||||
key = ::Google::APIClient::KeyUtils.load_from_pkcs12(File.expand_path(options[:google_key_location]), 'notasecret')
|
||||
|
||||
@client = ::Google::APIClient.new
|
||||
@client.authorization = Signet::OAuth2::Client.new(
|
||||
|
|
Loading…
Add table
Reference in a new issue