Class: PostcodeValidation::UseCase::ValidateAddress::FormatValidators::IEPostcodeValidator

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

Constant Summary collapse

REGEX =
/\A([AC-FHKNPRTV-Y]\d{2}|D6W)[0-9AC-FHKNPRTV-Y]{4}\z/

Method Summary

Methods included from UseFormatCheckOnly

#format_check_only?

Methods inherited from RegexValidator

#valid?