Module: Fog::HP::BlockStorage::Utils

Included in:
Mock, Real
Defined in:
lib/fog/hp/block_storage.rb

Instance Method Summary collapse

Instance Method Details

#computeObject



38
39
40
41
42
43
44
45
46
47
48
49
# File 'lib/fog/hp/block_storage.rb', line 38

def compute
  @compute ||= Fog::Compute.new(
    :provider       => 'HP',
    :hp_access_key  => @hp_access_key,
    :hp_secret_key  => @hp_secret_key,
    :hp_auth_uri    => @hp_auth_uri,
    :hp_tenant_id   => @hp_tenant_id,
    :hp_avl_zone    => @hp_avl_zone,
    :credentials    => @credentials,
    :connection_options => @connection_options
  )
end