class FluentValidation::Validators::AttributeValidatorContext

Attributes

attribute_name[R]
attribute_value[R]
error_code[R]

Public Class Methods

new(attribute_name, attribute_value, error_code = nil) click to toggle source
# File lib/fluent_validation/validators/attribute_validator_context.rb, line 6
def initialize(attribute_name, attribute_value, error_code = nil)
  @attribute_name = attribute_name
  @attribute_value = attribute_value
  @error_code = error_code
end