class ValidationProfiler::ManagerResult

This is used to specify validation results from the validate method of the Validation Manager

Attributes

errors[RW]

@!attribute errors

@return [Array[{:field, :error_message}]] An array of field errors that occurred during validation.
outcome[RW]

@!attribute outcome

@return [Boolean] The outcome of the validation.

Public Class Methods

new() click to toggle source
# File lib/validation_profiler/manager_result.rb, line 12
def initialize
  @errors = []
  @outcome = true
end