base.rb 432 B

1234567891011121314151617
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. class Service::Ticket::Update::Validator::Base
  3. attr_reader :ticket, :ticket_data, :article_data
  4. def initialize(user: nil, ticket: nil, ticket_data: nil, article_data: nil)
  5. @user = user
  6. @ticket = ticket
  7. @ticket_data = ticket_data
  8. @article_data = article_data
  9. end
  10. def valid!
  11. raise NotImplementedError
  12. end
  13. end