Sha256: 3dc78b0eeab17483f36bc0ca60363a270177496facffae3a175201d01508caa6
Contents?: true
Size: 402 Bytes
Versions: 28
Compression:
Stored size: 402 Bytes
Contents
module OVIRT class Client def quota(quota_id, opts={}) q = http_get("/datacenters/%s/quotas/%s" % [current_datacenter.id, quota_id]) OVIRT::Quota::new(self, q.root) end def quotas(opts={}) http_get("/datacenters/%s/quotas" % CGI.escape(current_datacenter.id)).xpath('/quotas/quota').collect do |q| OVIRT::Quota::new(self, q) end.compact end end end
Version data entries
28 entries across 26 versions & 2 rubygems