Class: Fog::Storage::Ninefold::Mock

Inherits:
Atmos::Mock show all
Includes:
Utils
Defined in:
lib/fog/ninefold/storage.rb

Constant Summary

Constants included from Atmos::Utils

Atmos::Utils::ENDPOINT_REGEX

Instance Method Summary collapse

Methods included from Atmos::Utils

#api_path, #host, #port, #setup_credentials, #ssl?

Constructor Details

#initialize(options = {}) ⇒ Mock

Returns a new instance of Mock.



27
28
29
30
# File 'lib/fog/ninefold/storage.rb', line 27

def initialize(options={})
  @ninefold_storage_token = options[:ninefold_storage_token]
  @ninefold_storage_secret = options[:ninefold_storage_secret]
end

Instance Method Details

#request(options) ⇒ Object



32
33
34
# File 'lib/fog/ninefold/storage.rb', line 32

def request(options)
  raise "Ninefold Storage mocks not implemented"
end