# File lib/fog/hp/storage.rb, line 89 def self.acls(type) type end
# File lib/fog/hp/storage.rb, line 93 def self.data @data ||= Hash.new do |hash, key| hash[key] = { :acls => { :container => {}, :object => {} }, :containers => {} } end end
# File lib/fog/hp/storage.rb, line 109 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 105 def self.reset @data = nil end
# File lib/fog/hp/storage.rb, line 115 def data self.class.data[@hp_account_id] end
# File lib/fog/hp/storage.rb, line 119 def reset_data self.class.data.delete(@hp_account_id) end