Sha256: 96f75e93ed85c8529f7fa70e1fa1d11445523745a2fb786eafe62de9dccb1b21

Contents?: true

Size: 378 Bytes

Versions: 10

Compression:

Stored size: 378 Bytes

Contents

require "fog/core/collection"
require "fog/ovirt/models/compute/quota"

module Fog
  module Ovirt
    class Compute
      class Quotas < Fog::Collection
        model Fog::Ovirt::Compute::Quota

        def all(filters = {})
          load service.list_quotas(filters)
        end

        def get(id)
          new service.get_quota(id)
        end
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
fog-ovirt-2.0.3 lib/fog/ovirt/models/compute/quotas.rb
fog-ovirt-2.0.2 lib/fog/ovirt/models/compute/quotas.rb
fog-ovirt-2.0.1 lib/fog/ovirt/models/compute/quotas.rb
fog-ovirt-2.0.0 lib/fog/ovirt/models/compute/quotas.rb
fog-ovirt-1.2.5 lib/fog/ovirt/models/compute/quotas.rb
fog-ovirt-1.2.4 lib/fog/ovirt/models/compute/quotas.rb
fog-ovirt-1.2.3 lib/fog/ovirt/models/compute/quotas.rb
fog-ovirt-1.2.2 lib/fog/ovirt/models/compute/quotas.rb
fog-ovirt-1.2.1 lib/fog/ovirt/models/compute/quotas.rb
fog-ovirt-1.2.0 lib/fog/ovirt/models/compute/quotas.rb