resources.rb 428 B

1234567891011121314151617
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. module Sequencer::Unit::Import::Common::SubSequence::Mixin::Resources
  3. include ::Sequencer::Unit::Import::Common::SubSequence::Mixin::Base
  4. def process
  5. return if resources.blank?
  6. sequence_resources(resources)
  7. end
  8. private
  9. def resources
  10. raise "Missing implementation of '#{__method__}' method for '#{self.class.name}'"
  11. end
  12. end