Class: AtlasEngine::Si::AddressImporter::OpenAddress::Corrections::CityDistrictCorrector
- Inherits:
-
Object
- Object
- AtlasEngine::Si::AddressImporter::OpenAddress::Corrections::CityDistrictCorrector
- Extended by:
- T::Sig
- Defined in:
- app/countries/atlas_engine/si/address_importer/open_address/corrections/city_district_corrector.rb
Class Method Summary collapse
Class Method Details
.apply(address) ⇒ Object
14 15 16 17 18 |
# File 'app/countries/atlas_engine/si/address_importer/open_address/corrections/city_district_corrector.rb', line 14 def apply(address) if address[:region4].present? address[:city] << address[:region4] if address[:city].exclude?(address[:region4]) end end |