Class: AtlasEngine::AddressValidation::Validators::FullAddress::NoCandidateResult

Inherits:
CandidateResultBase
  • Object
show all
Extended by:
T::Sig
Defined in:
app/models/atlas_engine/address_validation/validators/full_address/no_candidate_result.rb

Instance Method Summary collapse

Methods inherited from CandidateResultBase

#initialize

Constructor Details

This class inherits a constructor from AtlasEngine::AddressValidation::Validators::FullAddress::CandidateResultBase

Instance Method Details

#update_resultObject



12
13
14
15
16
17
18
19
# File 'app/models/atlas_engine/address_validation/validators/full_address/no_candidate_result.rb', line 12

def update_result
  result.concerns << UnknownAddressConcernBuilder.new(address).build

  concern = InvalidZipConcernBuilder.for(address, [], message_format)
  result.concerns << concern if concern

  update_result_scope
end