NAME
DR::SAP::Response::WithMessages - role for response objects that include messages
VERSION
version 0.15
METHODS
error_messages
Returns all messages with an "error" type.
internal_error_messages
Returns only messages with an "error" type that are not in the "whitelist" of messages that have been identified as safe to present to the user.
user_facing_error_messages
Returns only messages with an "error" type that are also in the "whitelist" of messages that have been identified as safe to present to the user.
find_messages_by_type
Filters messages based on the type passed in.
dpl_review_required
Returns a boolean indicating whether this response requires a DPL review.
AUTHOR
Brian Phillips <bphillips@digitalriver.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2010 by Digital River, Inc
All rights reserved.