Sha256: 602ec24d695f4e72f9f00a9d642acd6c7b3ca383f01e78d7c84af9cd04b6e525
Contents?: true
Size: 509 Bytes
Versions: 15
Compression:
Stored size: 509 Bytes
Contents
module Fog module Compute class Ovirt class V3 class Real def list_quotas(filters = {}) client.quotas(filters).map { |ovirt_obj| ovirt_attrs ovirt_obj } end end class Mock def list_quotas(_filters = {}) xml = read_xml "quotas.xml" Nokogiri::XML(xml).xpath("/quotas/quota").map do |q| ovirt_attrs OVIRT::Quotas.new(self, q) end end end end end end end
Version data entries
15 entries across 13 versions & 2 rubygems