# Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/ class Sequencer::Unit::Exchange::Folders::ByIds < Sequencer::Unit::Base include ::Sequencer::Unit::Exchange::Folders::Mixin::Folder uses :ews_folder_ids provides :ews_folders def process state.provide(:ews_folders) do ews_folder_ids.collect do |folder_id| ews_folder.find(folder_id) end end end end