Method: Fog::Storage::IBM::Mock#initialize

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

#initialize(options = {}) ⇒ Mock

Returns a new instance of Mock.

[View source]

72
73
74
75
76
# File 'lib/fog/ibm/storage.rb', line 72

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