Object
# File lib/fog/hp/block_storage_v2.rb, line 60 def self.data @data ||= Hash.new do |hash, key| hash[key] = { :volumes => {}, :snapshots => {}, :volume_backups => {} } end end
# File lib/fog/hp/block_storage_v2.rb, line 74 def initialize(options={}) @hp_access_key = options[:hp_access_key] end
# File lib/fog/hp/block_storage_v2.rb, line 70 def self.reset @data = nil end
# File lib/fog/hp/block_storage_v2.rb, line 78 def data self.class.data[@hp_access_key] end
# File lib/fog/hp/block_storage_v2.rb, line 82 def reset_data self.class.data.delete(@hp_access_key) end
[Validate]
Generated with the Darkfish Rdoc Generator 2.