NAME
Sleep::Request - A Sleep request.
DESCRIPTION
CLASS METHODS
- new
-
Constructor. Needs three arguments:
request
, the apache request;db
, a database object; andvars
, an array with the variables parsed from the URL.
METHODS
- id
-
Returns the first variable from
vars
. - decode($data)
-
Parses the JSON data in
$data
to a perl representation. Retrieve this value usingdata
. - data
-
Return the parsed data object.
BUGS
If you find a bug, please let the author know.
COPYRIGHT
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.
AUTHOR
Peter Stuifzand <peter@stuifzand.eu>