Class: AtlasEngine::Pl::AddressValidation::Exclusions::PlaceholderPostalCode

Inherits:
AddressValidation::Validators::FullAddress::Exclusions::ExclusionBase show all
Extended by:
T::Sig
Defined in:
app/countries/atlas_engine/pl/address_validation/exclusions/placeholder_postal_code.rb

Class Method Summary collapse

Class Method Details

.apply?(candidate, address_comparison) ⇒ Boolean

Returns:

  • (Boolean)


18
19
20
# File 'app/countries/atlas_engine/pl/address_validation/exclusions/placeholder_postal_code.rb', line 18

def apply?(candidate, address_comparison)
  placeholder_postal_code?(candidate)
end