![]() |
![]()
| ![]() |
![]()
NAMEJifty::Response - Canonical internal representation of the result of a Jifty::Action DESCRIPTIONThe 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. newDefault the status to 200. add_header NAME VALUEDeprecated. Use header(NAME, VALUE) result MONIKER [RESULT]Gets or sets the Jifty::Result of the Jifty::Action with the given MONIKER. resultsReturns a hash which maps moniker to its Jifty::Result messagesReturns the aggregate messages of all of the Jifty::Results. error [MESSAGE]Gets or sets a generalized error response. Setting an error also makes the response a "failure". successReturns true if none of the results are failures and there is no "error" set. failureReturns true if any of the results failed or there was an "error" set.
|