Sha256: 14c5ef1817d34e2d06d29b49ca5a5253f11d2349ff022049417d2de2ba123a9f
Contents?: true
Size: 473 Bytes
Versions: 9
Compression:
Stored size: 473 Bytes
Contents
module Fog module Ovirt class Compute class V4 class Real def get_instance_type(id) ovirt_attrs client.system_service.instance_types_service.instance_type_service(id).get end end class Mock def get_instance_type(_id) xml = read_xml "instance_type.xml" ovirt_attrs OvirtSDK4::Reader.read(Nokogiri::XML(xml).root.to_s) end end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems