Sha256: cee93b2dbebaf1be14e1feb2dca8695a4cc230067bbf1371af1ff32eae4155f3
Contents?: true
Size: 417 Bytes
Versions: 11
Compression:
Stored size: 417 Bytes
Contents
module OVIRT class Client def diskprofile(dp_id) dp = http_get("/diskprofiles/%s" % dp_id) OVIRT::DiskProfile::new(self, dp.root) end def diskprofiles(opts={}) path = "/diskprofiles" path += search_url(opts) unless filtered_api http_get(path).xpath('/disk_profiles/disk_profile').collect do |dp| OVIRT::DiskProfile::new(self,dp) end.compact end end end
Version data entries
11 entries across 9 versions & 2 rubygems