# File lib/cloudservers/connection.rb, line 194 def list_images(options = {}) path = CloudServers.paginate(options).empty? ? "#{svrmgmtpath}/images/detail" : "#{svrmgmtpath}/images/detail?#{CloudServers.paginate(options)}" response = csreq("GET",svrmgmthost,path,svrmgmtport,svrmgmtscheme) CloudServers::Exception.raise_exception(response) unless response.code.match(/^20.$/) CloudServers.symbolize_keys(JSON.parse(response.body)['images']) end