mirror of
https://github.com/czhu12/canine.git
synced 2025-12-16 16:35:10 -06:00
15 lines
288 B
Ruby
15 lines
288 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Clusters
|
|
class List
|
|
extend LightService::Organizer
|
|
|
|
def self.call(account_user:, params: {})
|
|
with(account_user: account_user, params: params).reduce(
|
|
Clusters::VisibleToUser,
|
|
Clusters::Filter
|
|
)
|
|
end
|
|
end
|
|
end
|