Sleep::Request - A Sleep request.


Sleep documentation  | view source Contained in the Sleep distribution.

Index


NAME

Top

Sleep::Request - A Sleep request.

DESCRIPTION

Top

CLASS METHODS

Top

new

Constructor. Needs three arguments: request, the apache request; db, a database object; and vars, an array with the variables parsed from the URL.

METHODS

Top

id

Returns the first variable from vars.

decode($data)

Parses the JSON data in $data to a perl representation. Retrieve this value using data.

data

Return the parsed data object.

BUGS

Top

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

COPYRIGHT

Top

AUTHOR

Top

Peter Stuifzand <peter@stuifzand.eu>


Sleep documentation  | view source Contained in the Sleep distribution.