Sha256: 97532d4779e0e6165bd873d7d59b826465c4437647753e34bf583813caf19dbc
Contents?: true
Size: 196 Bytes
Versions: 1
Compression:
Stored size: 196 Bytes
Contents
module Wor module Batchifier class MaintainUnique < Strategy def merge_strategy(response,rec) return response.merge(rec) { |_, v1, _| v1 } end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
wor-batchifier-0.0.2 | lib/wor/batchifier/maintain_unique.rb |