1
0
Fork 0
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:
Rupak Ganguly 2011-10-21 15:51:40 -04:00
parent b21c602f83
commit f16c80c797

View file

@ -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']