Module: Fog::HP::BlockStorageV2::Utils

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

Instance Method Summary collapse

Instance Method Details

#computeObject



44
45
46
47
48
49
50
51
52
53
54
55
56
# File 'lib/fog/hp/block_storage_v2.rb', line 44

def compute
  @compute ||= Fog::Compute.new(
    :provider       => 'HP',
    :version        => :v2,
    :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