diff options
author | franck cuny <franck@lumberjaph.net> | 2010-06-24 11:13:00 +0200 |
---|---|---|
committer | franck cuny <franck@lumberjaph.net> | 2010-06-24 11:13:00 +0200 |
commit | d396d18a9d087cc47ca1c37df08358ac6548ef32 (patch) | |
tree | f316b918512fe90e4c648c405fadc4c1200d86a8 /lib/presque | |
parent | code cleanup; split in methods so we can extend this handler (diff) | |
download | presque-d396d18a9d087cc47ca1c37df08358ac6548ef32.tar.gz |
rename method
Diffstat (limited to 'lib/presque')
-rw-r--r-- | lib/presque/Role/Error.pm | 2 |
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); } |