Sha256: 54ca854c7e3651d9e6ab994e4d70c2d931697911155033b931876bfb3f0253cb
Contents?: true
Size: 494 Bytes
Versions: 60
Compression:
Stored size: 494 Bytes
Contents
class Eco::API::UseCases::DefaultCases::ReinviteTransCase < Eco::API::Common::Loaders::UseCase name "reinvite" type :transform def reinvite(users, session, options, usecase) invite = session.new_job("main", "invite", :update, usecase, :account) users.each do |person| person.account.send_invites = true invite.add(person) end end def main(people, session, options, usecase) reinvite(people.users, session, options, usecase) end end
Version data entries
60 entries across 60 versions & 1 rubygems