Sha256: 65abc1717cf7a35b73ad76fe3ec980b70f9de2b1b39fad3c69362f63b61f5902
Contents?: true
Size: 513 Bytes
Versions: 13
Compression:
Stored size: 513 Bytes
Contents
module Fog module Compute class Ovirt class V4 class Real def get_quota(id) quota = client.system_service.data_centers_service.data_center_service(datacenter).quotas_service.quota_service(id).get ovirt_attrs quota end end class Mock def get_quota(_id) xml = read_xml("quota.xml") ovirt_attrs OvirtSDK4::Reader.read(Nokogiri::XML(xml).root.to_s) end end end end end end
Version data entries
13 entries across 11 versions & 2 rubygems