Class: AtlasEngine::AddressValidation::Es::Validators::FullAddressStreet

Inherits:
FullAddress show all
Defined in:
app/models/atlas_engine/address_validation/es/validators/full_address_street.rb

Instance Attribute Summary

Attributes inherited from FullAddress

#address, #message_format, #result

Attributes inherited from FullAddressValidatorBase

#address, #message_format, #result

Instance Method Summary collapse

Methods inherited from FullAddress

#build_candidate_result, #validate

Methods included from LogHelper

#log_error, #log_info, #log_warn

Methods inherited from FullAddressValidatorBase

#validate

Constructor Details

#initialize(address:, message_format:, result: Result.new) ⇒ FullAddressStreet

Returns a new instance of FullAddressStreet.



10
11
12
13
# File 'app/models/atlas_engine/address_validation/es/validators/full_address_street.rb', line 10

def initialize(address:, message_format:, result: Result.new)
  super
  @matching_strategy = MatchingStrategies::EsStreet
end