Fog::Collection
# File lib/fog/hp/models/block_storage/snapshots.rb, line 12 def all data = service.list_snapshots.body['snapshots'] load(data) end
# File lib/fog/hp/models/block_storage/snapshots.rb, line 17 def get(snapshot_id) if snapshot = service.get_snapshot_details(snapshot_id).body['snapshot'] new(snapshot) end rescue Fog::HP::BlockStorage::NotFound nil end
[Validate]
Generated with the Darkfish Rdoc Generator 2.