Class: AtlasEngine::At::AddressImporter::Corrections::OpenAddress::CityCorrector

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Defined in:
app/countries/atlas_engine/at/address_importer/corrections/open_address/city_corrector.rb

Class Method Summary collapse

Class Method Details

.apply(address) ⇒ Object



14
15
16
# File 'app/countries/atlas_engine/at/address_importer/corrections/open_address/city_corrector.rb', line 14

def apply(address)
  address[:city] = ["Wien"] if address[:zip].starts_with?("1")
end