Sha256: 87a62c30d98a54bf05ba2a8afeae1af05b791c9fb7edeef8c7b6cdc7026ae0da
Contents?: true
Size: 698 Bytes
Versions: 37
Compression:
Stored size: 698 Bytes
Contents
class Eco::API::UseCases::DefaultCases::CreateCase < Eco::API::Common::Loaders::UseCase name "create" type :sync def main(entries, people, session, options, usecase) micro = session.micro creation = session.new_job("main", "create", :create, usecase) supers = session.new_job("post", "supers", :update, usecase, :core) micro.with_each_starter(entries, people, options, log_present: true) do |entry, person| creation.add(person) micro.set_core_with_supervisor(entry, person, people, supers, options) entry.set_details(person) unless options.dig(:exclude, :details) micro.set_account(entry, person, options) end end end
Version data entries
37 entries across 37 versions & 1 rubygems