mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Assign hp_auth_uri to an instance var. so that CDN can use it.
This commit is contained in:
parent
b21c602f83
commit
f16c80c797
1 changed files with 2 additions and 1 deletions
|
@ -135,7 +135,8 @@ module Fog
|
|||
require 'multi_json'
|
||||
@hp_secret_key = options[:hp_secret_key]
|
||||
@hp_account_id = options[:hp_account_id]
|
||||
@hp_cdn_ssl = options[:hp_cdn_ssl]
|
||||
@hp_auth_uri = options[:hp_auth_uri]
|
||||
@hp_cdn_ssl = options[:hp_cdn_ssl]
|
||||
@connection_options = options[:connection_options] || {}
|
||||
credentials = Fog::HP.authenticate(options, @connection_options)
|
||||
@auth_token = credentials['X-Auth-Token']
|
||||
|
|
Loading…
Add table
Reference in a new issue