Class: AtlasEngine::Si::AddressValidation::Exclusions::UnknownCity

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

Class Method Summary collapse

Class Method Details

.apply?(candidate, address_comparison) ⇒ Boolean

Returns:

  • (Boolean)


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

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