Class: AtlasEngine::AddressValidation::FullAddressValidatorBase
- Inherits:
-
Object
- Object
- AtlasEngine::AddressValidation::FullAddressValidatorBase
- Extended by:
- T::Helpers, T::Sig
- Defined in:
- app/models/atlas_engine/address_validation/full_address_validator_base.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#address ⇒ Object
readonly
Returns the value of attribute address.
-
#message_format ⇒ Object
readonly
Returns the value of attribute message_format.
-
#result ⇒ Object
readonly
Returns the value of attribute result.
Instance Method Summary collapse
-
#initialize(address:, result:, message_format: MessageFormat::Instructional) ⇒ FullAddressValidatorBase
constructor
A new instance of FullAddressValidatorBase.
- #validate ⇒ Object
Constructor Details
#initialize(address:, result:, message_format: MessageFormat::Instructional) ⇒ FullAddressValidatorBase
Returns a new instance of FullAddressValidatorBase.
21 22 23 24 25 |
# File 'app/models/atlas_engine/address_validation/full_address_validator_base.rb', line 21 def initialize(address:, result:, message_format: MessageFormat::Instructional) @address = address @result = result @message_format = end |
Instance Attribute Details
#address ⇒ Object (readonly)
Returns the value of attribute address.
15 16 17 |
# File 'app/models/atlas_engine/address_validation/full_address_validator_base.rb', line 15 def address @address end |
#message_format ⇒ Object (readonly)
Returns the value of attribute message_format.
18 19 20 |
# File 'app/models/atlas_engine/address_validation/full_address_validator_base.rb', line 18 def @message_format end |
#result ⇒ Object (readonly)
Returns the value of attribute result.
12 13 14 |
# File 'app/models/atlas_engine/address_validation/full_address_validator_base.rb', line 12 def result @result end |
Instance Method Details
#validate ⇒ Object
28 |
# File 'app/models/atlas_engine/address_validation/full_address_validator_base.rb', line 28 def validate; end |