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.



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

def initialize(options={})
  require 'mime/types'
  @ninefold_storage_token = options[:ninefold_storage_token]
  @ninefold_storage_secret = options[:ninefold_storage_secret]
end

Instance Method Details

#request(options) ⇒ Object



34
35
36
# File 'lib/fog/ninefold/storage.rb', line 34

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