Sha256: 1fd18c407fd37ce6e67aee4c2abdf154a236d6c4f206e13ec3c1e3dea0c5759d
Contents?: true
Size: 395 Bytes
Versions: 29
Compression:
Stored size: 395 Bytes
Contents
class Eco::API::UseCases::DefaultCases::ResetLandingPageCase < Eco::API::Common::Loaders::UseCase name "reset-landing-page" type :transform def main(people, session, options, usecase) update = session.new_job("main", "update", :update, usecase, :core) people.users.each do |user| user.account.landing_page_id = nil update.add(user) end end end
Version data entries
29 entries across 29 versions & 1 rubygems