Dezi::Admin::API::Response - Dezi administration API response
use Dezi::Admin::API::Response; my $resp = Dezi::Admin::API::Response->new( total => $total, results => $list, ); print $resp; # renders as JSON
Dezi::Admin::API::Response represents a JSON response to an API call.
Constructor. args should include params total and results.
Get/set success boolean.
Get/set total integer.
Get/set array ref of results.
Get/set hash ref of meta data. Format is what ExtJS expects.
Returns JSON representation of Response. All stringification actions are overloaded to call this method.
Peter Karman, <karman at cpan.org>
<karman at cpan.org>
Please report any bugs or feature requests to bug-dezi-admin at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Dezi-Admin. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-dezi-admin at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Dezi::Admin
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Dezi-Admin
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Dezi-Admin
CPAN Ratings
http://cpanratings.perl.org/d/Dezi-Admin
Search CPAN
http://search.cpan.org/dist/Dezi-Admin/
Copyright 2013 Peter Karman.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install Dezi::Admin, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dezi::Admin
CPAN shell
perl -MCPAN -e shell install Dezi::Admin
For more information on module installation, please visit the detailed CPAN module installation guide.