Sha256: ffc503c48ae28e36cf433ca6cf8804f4b02bc8e0a8e1db6d69a2d2ac04973521
Contents?: true
Size: 601 Bytes
Versions: 7
Compression:
Stored size: 601 Bytes
Contents
module Eco module API class UseCases class DefaultCases class ReinviteCase < DefaultCase def process @cases.define("reinvite", type: :transform) do |people, session, options, usecase| invite = session.job_group("main").new("invite", usecase: usecase, type: :update, sets: :account) people.users.each do |person| person.account.send_invites = true invite.add(person) end invite end end end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems