diff options
Diffstat (limited to 'lib')
-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); } |