Sha256: 88ecae2cc9f8ba33f048aee2df1b5470234e17c72052acee8774c9c40b8890fe
Contents?: true
Size: 506 Bytes
Versions: 15
Compression:
Stored size: 506 Bytes
Contents
module Fog module Compute class Ovirt 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
15 entries across 13 versions & 2 rubygems