about summary refs log tree commit diff
path: root/lib/presque
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2010-06-24 11:13:00 +0200
committerfranck cuny <franck@lumberjaph.net>2010-06-24 11:13:00 +0200
commitd396d18a9d087cc47ca1c37df08358ac6548ef32 (patch)
treef316b918512fe90e4c648c405fadc4c1200d86a8 /lib/presque
parentcode cleanup; split in methods so we can extend this handler (diff)
downloadpresque-d396d18a9d087cc47ca1c37df08358ac6548ef32.tar.gz
rename method
Diffstat (limited to 'lib/presque')
-rw-r--r--lib/presque/Role/Error.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/presque/Role/Error.pm b/lib/presque/Role/Error.pm
index 3c07e0a..22800df 100644
--- a/lib/presque/Role/Error.pm
+++ b/lib/presque/Role/Error.pm
@@ -16,7 +16,7 @@ sub http_error_content_type {
     (shift)->http_error('content-type must be set to application/json');
 }
 
-sub http_error_closed_queue {
+sub http_error_queue_is_closed {
     (shift)->http_error('queue is closed', 404);
 }