mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-04 22:16:08 +00:00
10 lines
212 B
Ruby
10 lines
212 B
Ruby
module OpenFoodNetwork
|
|
class PropertyMerge
|
|
def self.merge(primary, secondary)
|
|
(primary + secondary).uniq do |property_object|
|
|
property_object.property.presentation
|
|
end
|
|
end
|
|
end
|
|
end
|