Sha256: 24464c3ff761d0c7a7a4b1a098dd94a416f6c558f00181e775b98dabf702a6a7
Contents?: true
Size: 610 Bytes
Versions: 50
Compression:
Stored size: 610 Bytes
Contents
module Eco module API class UseCases class DefaultCases class ResetLandingPageCase < DefaultCase def process @cases.define("reset-landing-page", type: :transform) do |people, session, options, usecase| job = session.job_group("main").new("update", usecase: usecase, type: :update, sets: :account) people.users.each do |user| user.account.landing_page_id = nil job.add(user) end job end end end end end end end
Version data entries
50 entries across 50 versions & 1 rubygems