# File lib/deltacloud/drivers/rhevm/rhevm_driver.rb, line 128 def images(credentials, opts=nil ) templates = [] if (opts.nil?) templates = execute(credentials, "templates.ps1") else if (opts[:id]) templates = execute(credentials, "templateById.ps1", opts[:id]) end end images = [] templates.each do |templ| images << template_to_image(templ) end images end