# File lib/fog/hp/storage.rb, line 87 def self.acls(type) type end
# File lib/fog/hp/storage.rb, line 91 def self.data @data ||= Hash.new do |hash, key| hash[key] = { :acls => { :container => {}, :object => {} }, :containers => {} } end end
# File lib/fog/hp/storage.rb, line 107 def initialize(options={}) require 'mime/types' @hp_secret_key = options[:hp_secret_key] @hp_account_id = options[:hp_account_id] end
# File lib/fog/hp/storage.rb, line 103 def self.reset @data = nil end
# File lib/fog/hp/storage.rb, line 113 def data self.class.data[@hp_account_id] end
# File lib/fog/hp/storage.rb, line 117 def reset_data self.class.data.delete(@hp_account_id) end