Sha256: 2e74711d334cb3bffec9cddad51d0c807105c8ed6fab27e98eb00e57c8c1e7fd
Contents?: true
Size: 609 Bytes
Versions: 21
Compression:
Stored size: 609 Bytes
Contents
module Eco module API module UseCases class DefaultCases class RefreshPresets < BaseCase def process @cases.define("refresh-presets", type: :transform) do |people, session| job = session.job_group("main").new("update", type: :update, sets: :account) people = people.users people.each do |person| person.account.permissions_custom = session.new_preset(person) job.add(person) end end end end end end end end
Version data entries
21 entries across 21 versions & 1 rubygems