Class: PostcodeValidation::UseCase::ValidateAddress::FormatValidators::NLPostcodeValidator

Inherits:
RegexValidator
  • Object
show all
Includes:
UseFormatCheckOnly
Defined in:
lib/postcode_validation/use_case/validate_address/format_validators/nl_postcode_validator.rb

Constant Summary collapse

REGEX =
/(NL-)?(\d{4})\s*([A-Za-z]{2})/

Method Summary

Methods included from UseFormatCheckOnly

#format_check_only?

Methods inherited from RegexValidator

#valid?