# File lib/fog/hp/storage.rb, line 187 def self.acls(type) type end
# File lib/fog/hp/storage.rb, line 191 def self.data @data ||= Hash.new do |hash, key| hash[key] = { :acls => { :container => {}, :object => {} }, :containers => {} } end end
# File lib/fog/hp/storage.rb, line 207 def initialize(options={}) require 'mime/types' # deprecate hp_account_id if options[:hp_account_id] Fog::Logger.deprecation(":hp_account_id is deprecated, please use :hp_access_key instead.") @hp_access_key = options.delete(:hp_account_id) end @hp_access_key = options[:hp_access_key] unless @hp_access_key raise ArgumentError.new("Missing required arguments: hp_access_key. :hp_account_id is deprecated, please use :hp_access_key instead.") end @hp_secret_key = options[:hp_secret_key] @hp_tenant_id = options[:hp_tenant_id] end
Generated with the Darkfish Rdoc Generator 2.