module Fog::OpenStack::Volume::Snapshots
Public Instance Methods
Source
# File lib/fog/openstack/volume/models/snapshots.rb, line 7 def all(options = {}) load_response(service.list_snapshots_detailed(options), 'snapshots') end
Source
# File lib/fog/openstack/volume/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::OpenStack::Volume::NotFound nil end
Source
# File lib/fog/openstack/volume/models/snapshots.rb, line 11 def summary(options = {}) load_response(service.list_snapshots(options), 'snapshots') end