NAME
WebService::Braintree::ValidationError
PURPOSE
This class represents a collection of validation errors.
CLASS METHODS
This class is NOT an interface, so it does NOT have any class methods.
OBJECT METHODS
deep_errors()
This returns a list of the errors for the underlying validation failures.
for()
This takes a target and returns a ValidationErrorCollection for that value (if it exists).
on()
This takes an attribute and returns an arrayref of the ValidationErrors for that attribute. If there aren't any, then this will return an empty arrayref.