Sha256: 43deb34c8688acf3ec6c72362bcb02c772d6ca878a945441c601f0c6b92b3e0a
Contents?: true
Size: 573 Bytes
Versions: 15
Compression:
Stored size: 573 Bytes
Contents
module Fog module Compute class Ovirt class V3 class Real def list_affinity_groups(filters = {}) client.affinity_groups(filters).map { |ovirt_obj| ovirt_attrs ovirt_obj } end end class Mock def list_affinity_groups(_filters = {}) xml = read_xml("affinitygroups.xml") Nokogiri::XML(xml).xpath("/affinity_groups/affinity_group").map do |ag| ovirt_attrs OVIRT::AffinityGroup.new(self, ag) end end end end end end end
Version data entries
15 entries across 13 versions & 2 rubygems