Class: AtlasEngine::AddressValidation::ConcernProducer
- Inherits:
-
Object
- Object
- AtlasEngine::AddressValidation::ConcernProducer
- Extended by:
- T::Sig
- Defined in:
- app/models/atlas_engine/address_validation/concern_producer.rb
Class Method Summary collapse
Class Method Details
.add(result, context = {}) ⇒ Object
11 12 13 14 15 |
# File 'app/models/atlas_engine/address_validation/concern_producer.rb', line 11 def add(result, context = {}) return if result.concerns.empty? ConcernQueue.instance.queue.push(ConcernRecord.from_result(result, context)) end |