Jifty::Response - Canonical internal representation of the result of a Jifty::Action
The answer to a Jifty::Request is a Jifty::Response object. Currently, the response object exists merely to collect the Jifty::Result objects of each Jifty::Action that ran.
Jifty::Response
Creates a new Jifty::Response object.
Add an HTTP header to the outgoing HTTP response.
Returns an array of key-value pairs of all the HTTP headers we want to stick on the outgoing HTTP request.
Gets or sets the Jifty::Result of the Jifty::Action with the given MONIKER.
Returns a hash which maps moniker to its Jifty::Result
Returns the aggregate messages of all of the Jifty::Results.
Gets or sets a generalized error response. Setting an error also makes the response a "failure".
Returns true if none of the results are failures and there is no "error" set.
Returns true if any of the results failed or there was an "error" set.
To install Jifty, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Jifty
CPAN shell
perl -MCPAN -e shell install Jifty
For more information on module installation, please visit the detailed CPAN module installation guide.