Class: PostcodeValidation::UseCase::ValidateAddress::FormatValidators::BNPostcodeValidator

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

Constant Summary collapse

REGEX =
/^[A-Z]{2}\d{4}$/

Method Summary

Methods included from UseFormatCheckOnly

#format_check_only?

Methods inherited from RegexValidator

#valid?