Class: PostcodeValidation::UseCase::ValidateAddress::FormatValidators::ARPostcodeValidator

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

Constant Summary collapse

REGEX =
/^([A-HJ-TP-Z]{1}\d{4}[A-Z]{3}|[a-z]{1}\d{4}[a-hj-tp-z]{3})$/

Method Summary

Methods included from UseFormatCheckOnly

#format_check_only?

Methods inherited from RegexValidator

#valid?