From 3e511080c391f942f2967669385e33a1676b0051 Mon Sep 17 00:00:00 2001 From: Kannan Manickam Date: Sun, 27 Jan 2013 01:45:25 -0800 Subject: [PATCH] Issue #14 [BuildQueue] renamed list_tasks -> list --- lib/jenkins_api_client/build_queue.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/jenkins_api_client/build_queue.rb b/lib/jenkins_api_client/build_queue.rb index 6d9a5a4c..4fd622a4 100644 --- a/lib/jenkins_api_client/build_queue.rb +++ b/lib/jenkins_api_client/build_queue.rb @@ -47,7 +47,7 @@ def size # Lists all tasks currently in the build queue # - def list_tasks + def list response_json = @client.api_get_request("/queue") tasks = [] response_json["items"].each do |item|