Sha256: 70be0a75b30a7c5ff3c9c1b8f6627193dab110783e69e13bb1a1bc439da5409a
Contents?: true
Size: 374 Bytes
Versions: 8
Compression:
Stored size: 374 Bytes
Contents
class Eco::API::UseCases::DefaultCases::EmailAsIdCase < Eco::API::Common::Loaders::UseCase name "email-as-id" type :transform def main(people, session, options, usecase) update = session.new_job("main", "update", :update, usecase, :core) people.each do |person| person.external_id = person.email update.add(person) end end end
Version data entries
8 entries across 8 versions & 1 rubygems