Sha256: bd3731b6f3b439357f5f61c5543cf18e902c56948186b476318b46f1e2284035

Contents?: true

Size: 463 Bytes

Versions: 4

Compression:

Stored size: 463 Bytes

Contents

require 'fog/compute/gridscale/models/paging_collection'

module Fog
  module Compute
    class Gridscale
      class DeletedSnapshots < Fog::Compute::Gridscale::PagingCollection
        model Fog::Compute::Gridscale::DeletedSnapshots

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

      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fog-gridscale-0.1.5 lib/fog/compute/gridscale/models/deleted_snapshots.rb
fog-gridscale-0.1.4 lib/fog/compute/gridscale/models/deleted_snapshots.rb
fog-gridscale-0.1.3 lib/fog/compute/gridscale/models/deleted_snapshots.rb
fog-gridscale-0.1.2 lib/fog/compute/gridscale/models/deleted_snapshots.rb