Sha256: 7f4b4884cd49ada092f176dfcb79197b061e2d4a6b8e0ecba4ab790a3b11f411
Contents?: true
Size: 506 Bytes
Versions: 6
Compression:
Stored size: 506 Bytes
Contents
module Fog module Ovirt class Compute class V3 class Real def storage_domains(filter = {}) client.storagedomains(filter) end end class Mock def storage_domains(_filters = {}) xml = read_xml "storage_domains.xml" Nokogiri::XML(xml).xpath("/storage_domains/storage_domain").map do |sd| OVIRT::StorageDomain.new(self, sd) end end end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems