Method: Fog::Compute::IBM::Mock#initialize

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

#initialize(options = {}) ⇒ Mock

Returns a new instance of Mock.


112
113
114
115
116
# File 'lib/fog/ibm/compute.rb', line 112

def initialize(options={})
  @ibm_username = options[:ibm_username]
  @ibm_password = options[:ibm_password]
  @data = self.class.data[@ibm_username]
end