# File lib/fog/volume/openstack/models/snapshots.rb, line 7 def all(options = {}) load_response(service.list_snapshots_detailed(options), 'snapshots') end
# File lib/fog/volume/openstack/models/snapshots.rb, line 15 def get(snapshots_id) snapshot = service.get_snapshot_details(snapshots_id).body['snapshot'] if snapshot new(snapshot) end rescue Fog::Volume::OpenStack::NotFound nil end
# File lib/fog/volume/openstack/models/snapshots.rb, line 11 def summary(options = {}) load_response(service.list_snapshots(options), 'snapshots') end