system_assets.rb 301 B

1234567891011
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. module Service
  3. class SystemAssets
  4. SendableAsset = Struct.new(:content, :filename, :type, keyword_init: true)
  5. def self.backend(identifier)
  6. "#{name}::#{identifier.camelize}".safe_constantize
  7. end
  8. end
  9. end