Class: AtlasEngine::AddressValidation::Validators::FullAddress::NoCandidateResult
- Inherits:
-
CandidateResultBase
- Object
- CandidateResultBase
- AtlasEngine::AddressValidation::Validators::FullAddress::NoCandidateResult
- 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
Constructor Details
This class inherits a constructor from AtlasEngine::AddressValidation::Validators::FullAddress::CandidateResultBase
Instance Method Details
#update_result ⇒ Object
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, [], ) result.concerns << concern if concern update_result_scope end |