module Eco module API class UseCases class DefaultCases class Refresh < DefaultCase def process @cases.define("refresh", type: :transform) do |people, session, options, usecase| job = session.job_group("main").new("update", usecase: usecase, type: :update, sets: :account) people.each_with_index do |person, i| job.add(person) end end end end end end end end