Sha256: d720ce64dc136dd5eaeec96fa9c0e4bf6faefe8f1cf5df10614334614ea40c9e
Contents?: true
Size: 529 Bytes
Versions: 6
Compression:
Stored size: 529 Bytes
Contents
module Fog module Ovirt class Compute class V3 class Real def list_templates(filters = {}) client.templates(filters).map { |ovirt_obj| ovirt_attrs ovirt_obj } end end class Mock def list_templates(_filters = {}) xml = read_xml "templates.xml" Nokogiri::XML(xml).xpath("/templates/template").map do |t| ovirt_attrs OVIRT::Template.new(self, t) end end end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems