app/operations/harvesting/entities/upsert.rb
def finalize!(harvest_entity, entity)
        harvest_entity.entity = entity

        monadic_save harvest_entity
      end
# Attach the upserted entity to the {HarvestEntity} for later introspection and record-keeping.
#
# @param [HarvestEntity] harvest_entity
# @param [Collection, Item] entity
# @return [Dry::Monads::Result]
Attach the upserted entity to the {HarvestEntity} for later introspection and record-keeping.
Attach the upserted entity to the { HarvestEntity } for later introspection and record - keeping .
def finalize!(harvest_entity, entity)
        harvest_entity.entity = entity
        monadic_save harvest_entity
      end
def finalize! ( harvest_entity , entity ) harvest_entity . entity = entity monadic_save harvest_entity end
Attach the upserted entity to the {HarvestEntity} for later introspection and record-keeping.
Attach the upserted entity to the { HarvestEntity } for later introspection and record - keeping .
None
Dry::Monads::Result
harvest_entity
entity
None