Sha256: 10164759ac0190153d6f1d51fae81a095c0efb3ea9dfc41d1082fc9f314467c4
Contents?: true
Size: 441 Bytes
Versions: 8
Compression:
Stored size: 441 Bytes
Contents
class Eco::API::UseCases::DefaultCases::RemoveAccountTransCase < Eco::API::Common::Loaders::UseCase name "remove-account" type :transform def remove_account(users) update = session.new_job("main", "update", :update, usecase, :account) users.each do |user| user.account = nil update.add(user) end end def main(people, session, options, usecase) remove_account(people.users) end end
Version data entries
8 entries across 8 versions & 1 rubygems