2
0

Add Form::BaseBatch class for "batch form update" objects (#35458)

This commit is contained in:
Matt Jankowski
2025-07-23 03:50:35 -04:00
committed by GitHub
parent 62a23b1985
commit 70058ae49d
6 changed files with 29 additions and 31 deletions

View File

@@ -1,13 +1,11 @@
# frozen_string_literal: true
class Form::AccountBatch
include ActiveModel::Model
include Authorization
include AccountableConcern
class Form::AccountBatch < Form::BaseBatch
include Payloadable
attr_accessor :account_ids, :action, :current_account,
:select_all_matching, :query
attr_accessor :account_ids,
:query,
:select_all_matching
def save
case action