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

Inherits:
Object
  • Object
show all
Includes:
Utils
Defined in:
lib/rackspace-fog/ninefold/storage.rb

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Mock

Returns a new instance of Mock.



34
35
36
37
38
# File 'lib/rackspace-fog/ninefold/storage.rb', line 34

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



40
41
42
# File 'lib/rackspace-fog/ninefold/storage.rb', line 40

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