Class: Fog::Compute::Gridscale::DeletedSnapshots

Inherits:
PagingCollection
  • Object
show all
Defined in:
lib/fog/compute/gridscale/models/deleted_snapshots.rb

Instance Method Summary collapse

Methods inherited from PagingCollection

#next_page, #previous_page

Instance Method Details

#all(filters = {}) ⇒ Object



9
10
11
12
13
# File 'lib/fog/compute/gridscale/models/deleted_snapshots.rb', line 9

def all(filters={})
  data = service.deleted_snapshots_get(filters)
  deleted_snapshots = data.body["deleted_snapshots"].values
  load(deleted_snapshots)
end