Class: PwnedValidator Deprecated
- Inherits:
-
NotPwnedValidator
- Object
- ActiveModel::EachValidator
- NotPwnedValidator
- PwnedValidator
- Defined in:
- lib/pwned/not_pwned_validator.rb
Overview
Deprecated.
use the NotPwnedValidator
instead.
The version 1.1.0 validator that uses `pwned` in the validate method. This has been updated to the above `not_pwned` validator to be clearer what is being validated.
This class is being maintained for backwards compatitibility but will be removed
Constant Summary
Constants inherited from NotPwnedValidator
NotPwnedValidator::DEFAULT_ON_ERROR, NotPwnedValidator::DEFAULT_THRESHOLD