Class: AtlasEngine::AddressValidation::PredicatePipeline::PredicateConfig
- Inherits:
-
Object
- Object
- AtlasEngine::AddressValidation::PredicatePipeline::PredicateConfig
- Extended by:
- T::Sig
- Defined in:
- app/models/atlas_engine/address_validation/predicate_pipeline.rb
Instance Attribute Summary collapse
-
#class_name ⇒ Object
readonly
Returns the value of attribute class_name.
-
#field ⇒ Object
readonly
Returns the value of attribute field.
Instance Method Summary collapse
-
#initialize(class_name:, field:) ⇒ PredicateConfig
constructor
A new instance of PredicateConfig.
Constructor Details
#initialize(class_name:, field:) ⇒ PredicateConfig
Returns a new instance of PredicateConfig.
73 74 75 76 |
# File 'app/models/atlas_engine/address_validation/predicate_pipeline.rb', line 73 def initialize(class_name:, field:) @field = field @class_name = class_name end |
Instance Attribute Details
#class_name ⇒ Object (readonly)
Returns the value of attribute class_name.
65 66 67 |
# File 'app/models/atlas_engine/address_validation/predicate_pipeline.rb', line 65 def class_name @class_name end |
#field ⇒ Object (readonly)
Returns the value of attribute field.
62 63 64 |
# File 'app/models/atlas_engine/address_validation/predicate_pipeline.rb', line 62 def field @field end |