class Blobsterix::Storage::Storage
Public Instance Methods
bucket_exist(bucket="root")
click to toggle source
# File lib/blobsterix/storage/storage.rb, line 9 def bucket_exist(bucket="root") false end
create(bucket)
click to toggle source
# File lib/blobsterix/storage/storage.rb, line 18 def create(bucket) Nokogiri::XML::Builder.new do |xml| end end
delete(bucket)
click to toggle source
# File lib/blobsterix/storage/storage.rb, line 22 def delete(bucket) nil end
delete_key(bucket, key)
click to toggle source
# File lib/blobsterix/storage/storage.rb, line 25 def delete_key(bucket, key) nil end
get(bucket, key)
click to toggle source
# File lib/blobsterix/storage/storage.rb, line 12 def get(bucket, key) Blobsterix::Storage::BlobMetaData.new end
list(bucket="root", opts={})
click to toggle source
# File lib/blobsterix/storage/storage.rb, line 4 def list(bucket="root", opts={}) Nokogiri::XML::Builder.new do |xml| xml.Error "no such bucket" end end
name()
click to toggle source
# File lib/blobsterix/storage/storage.rb, line 28 def name "none" end
put(bucket, key, value, opts={})
click to toggle source
# File lib/blobsterix/storage/storage.rb, line 15 def put(bucket, key, value, opts={}) Blobsterix::Storage::BlobMetaData.new end