Class: Fog::Storage::Nirvanix::Mock

Inherits:
Object
  • Object
show all
Defined in:
lib/fog/nirvanix/storage.rb,
lib/fog/nirvanix/requests/storage/get_object.rb,
lib/fog/nirvanix/requests/storage/list_folder.rb,
lib/fog/nirvanix/requests/storage/upload_file.rb,
lib/fog/nirvanix/requests/storage/create_folder.rb,
lib/fog/nirvanix/requests/storage/delete_folder.rb,
lib/fog/nirvanix/requests/storage/get_optimal_url.rb

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Mock

Returns a new instance of Mock.



26
27
# File 'lib/fog/nirvanix/storage.rb', line 26

def initialize(options={})
end

Instance Method Details

#create_folder(folder_path) ⇒ Object



28
29
30
# File 'lib/fog/nirvanix/requests/storage/create_folder.rb', line 28

def create_folder(folder_path)
  Fog::Mock.not_implemented
end

#delete_folder(folder_path) ⇒ Object



27
28
29
# File 'lib/fog/nirvanix/requests/storage/delete_folder.rb', line 27

def delete_folder(folder_path)
  Fog::Mock.not_implemented
end

#get_object(container, object, &block) ⇒ Object



43
44
45
# File 'lib/fog/nirvanix/requests/storage/get_object.rb', line 43

def get_object(container, object, &block)
  Fog::Mock.not_implemented
end

#get_optimal_url(file_path, expiration = 600) ⇒ Object



34
35
36
# File 'lib/fog/nirvanix/requests/storage/get_optimal_url.rb', line 34

def get_optimal_url(file_path, expiration=600)
  Fog::Mock.not_implemented
end

#list_folder(folder = '', pageNumber = 1, pageSize = 500) ⇒ Object



33
34
35
# File 'lib/fog/nirvanix/requests/storage/list_folder.rb', line 33

def list_folder(folder='', pageNumber=1, pageSize=500)
  Fog::Mock.not_implemented
end

#upload_file(filename, folder_name, data) ⇒ Object



102
103
104
# File 'lib/fog/nirvanix/requests/storage/upload_file.rb', line 102

def upload_file(filename, folder_name, data)
  Fog::Mock.not_implemented
end