Class: AtlasEngine::Jp::AddressValidation::Es::DataMapper

Inherits:
AddressValidation::Es::DataMappers::DefaultDataMapper show all
Defined in:
app/countries/atlas_engine/jp/address_validation/es/data_mapper.rb

Instance Attribute Summary

Attributes inherited from AddressValidation::Es::DataMappers::DefaultDataMapper

#locale, #post_address

Instance Method Summary collapse

Methods inherited from AddressValidation::Es::DataMappers::DefaultDataMapper

#initialize

Methods included from LogHelper

#log_error, #log_info, #log_warn

Constructor Details

This class inherits a constructor from AtlasEngine::AddressValidation::Es::DataMappers::DefaultDataMapper

Instance Method Details

#map_dataObject



12
13
14
15
16
17
18
# File 'app/countries/atlas_engine/jp/address_validation/es/data_mapper.rb', line 12

def map_data
  if T.must(locale_language_code.casecmp("en")).zero?
    super.merge(en_modifications)
  else
    super.merge(ja_modifications)
  end
end