track.rb 424 B

1234567891011121314151617181920212223
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. class TriggerWebhookJob::CustomPayload::Track
  3. include Mixin::RequiredSubPaths
  4. def self.root?
  5. false
  6. end
  7. def self.klass
  8. raise 'not implemented'
  9. end
  10. def self.functions
  11. klass.constantize.attribute_names
  12. end
  13. def self.replacements(pre_defined_webhook_type:)
  14. return {} if !root?
  15. raise 'not implemented'
  16. end
  17. end