Sha256: eaea5e75f3ece0549b901c0e9f1cb1ccb9438ecd319be013233cd5226c7e46c7
Contents?: true
Size: 513 Bytes
Versions: 9
Compression:
Stored size: 513 Bytes
Contents
module Fog module Ovirt class Compute 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
9 entries across 9 versions & 1 rubygems