Sha256: 3fa3cb79bdef806b928d3fcebe878180f39268fdd35ede2d0dae432a1acf6dfa
Contents?: true
Size: 535 Bytes
Versions: 22
Compression:
Stored size: 535 Bytes
Contents
module Eco module API module UseCases class DefaultCases class EmailAsIdCase < BaseCase def process @cases.define("email-as-id", type: :transform) do |people, session| job = session.job_group("main").new("update", type: :update, sets: :core) people.each do |person| person.external_id = person.email job.add(person) end end end end end end end end
Version data entries
22 entries across 22 versions & 1 rubygems