2026-01-02 13:41:09 +00:00
|
|
|
# Copyright (C) 2012-2026 Zammad Foundation, https://zammad-foundation.org/
|
2021-06-01 12:20:20 +00:00
|
|
|
|
2022-10-04 09:58:52 +00:00
|
|
|
class Sequencer::Sequence
|
|
|
|
|
extend ::Sequencer::Mixin::PrefixedConstantize
|
2017-08-14 11:56:23 +00:00
|
|
|
|
2022-10-04 09:58:52 +00:00
|
|
|
PREFIX = 'Sequencer::Sequence::'.freeze
|
2017-08-14 11:56:23 +00:00
|
|
|
|
2022-10-04 09:58:52 +00:00
|
|
|
attr_reader :units, :expecting
|
2017-08-14 11:56:23 +00:00
|
|
|
|
2022-10-04 09:58:52 +00:00
|
|
|
def initialize(units:, expecting: [])
|
|
|
|
|
@units = units
|
|
|
|
|
@expecting = expecting
|
2017-08-14 11:56:23 +00:00
|
|
|
end
|
|
|
|
|
end
|