base.rb 298 B

1234567891011121314
  1. # Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
  2. class Auth
  3. class Base
  4. def initialize(config)
  5. @config = config
  6. end
  7. def valid?(_user, _password)
  8. raise "Missing implementation of method 'valid?' for class '#{self.class.name}'"
  9. end
  10. end
  11. end