
Sleep::Handler - A Sleep resource.

Resources are the main objects in a REST-ful application. Each thing in a website should be represented with one Resource class.
This base class contains four methods for the different operations that will croak when called.

Constructor. Will add the arguments as attributes to the object.

Implement get to handle a GET request to this resource.
Implement post to handle a POST request to this resource.
Implement put to handle a PUT request to this resource.
Implement delete to handle a DELETE request to this resource.

If you find a bug, please let the author know.

Copyright (c) 2008 Peter Stuifzand. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Peter Stuifzand <peter@stuifzand.eu>