# File lib/fog/hp/block_storage.rb, line 55 def self.data @data ||= Hash.new do |hash, key| hash[key] = { :volumes => {}, :snapshots => {} } end end
# File lib/fog/hp/block_storage.rb, line 68 def initialize(options={}) # 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 end
Generated with the Darkfish Rdoc Generator 2.