Sha256: 02772016b691d256a98385f97687b980661bd8b130f484b3dce4a012f0821fa4

Contents?: true

Size: 456 Bytes

Versions: 4

Compression:

Stored size: 456 Bytes

Contents

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

module Fog
  module Compute
    class Gridscale
      class DeletedStorages < Fog::Compute::Gridscale::PagingCollection
        model Fog::Compute::Gridscale::DeletedStorage

        def all(filters={})
          data = service.deleted_storages_get(filters)
          deleted_storages = data.body["deleted_storages"].values
          load(deleted_storages)
        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_storages.rb
fog-gridscale-0.1.4 lib/fog/compute/gridscale/models/deleted_storages.rb
fog-gridscale-0.1.3 lib/fog/compute/gridscale/models/deleted_storages.rb
fog-gridscale-0.1.2 lib/fog/compute/gridscale/models/deleted_storages.rb