base_with_current_user.rb 244 B

12345678910
  1. # Copyright (C) 2012-2023 Zammad Foundation, https://zammad-foundation.org/
  2. class Service::BaseWithCurrentUser < Service::Base
  3. attr_reader :current_user
  4. def initialize(current_user:)
  5. super()
  6. @current_user = current_user
  7. end
  8. end