# File lib/cloudservers/connection.rb, line 114 def list_servers(options = {}) anti_cache_param="cacheid=#{Time.now.to_i}" path = CloudServers.paginate(options).empty? ? "#{svrmgmtpath}/servers?#{anti_cache_param}" : "#{svrmgmtpath}/servers?#{CloudServers.paginate(options)}&#{anti_cache_param}" response = csreq("GET",svrmgmthost,path,svrmgmtport,svrmgmtscheme) CloudServers::Exception.raise_exception(response) unless response.code.match(/^20.$/) CloudServers.symbolize_keys(JSON.parse(response.body)["servers"]) end