Class: AtlasEngine::AddressValidation::PredicatePipeline::PredicateConfig

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Defined in:
app/models/atlas_engine/address_validation/predicate_pipeline.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_nameObject (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

#fieldObject (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