Method: Fog::Compute::Vsphere::Mock#initialize

Defined in:
lib/fog/vsphere/compute.rb

#initialize(options = {}) ⇒ Mock

Returns a new instance of Mock.



95
96
97
98
99
100
101
102
103
# File 'lib/fog/vsphere/compute.rb', line 95

def initialize(options={})
  require 'rbvmomi'
  @vsphere_username = options[:vsphere_username]
  @vsphere_password = 'REDACTED'
  @vsphere_server   = options[:vsphere_server]
  @vsphere_expected_pubkey_hash = options[:vsphere_expected_pubkey_hash]
  @vsphere_is_vcenter = true
  @vsphere_rev = '4.0'
end