21 lines
283 B
Ruby
21 lines
283 B
Ruby
|
class PasswordPolicy
|
||
|
class Backend
|
||
|
# @param password [String] to evaluate
|
||
|
def initialize(password)
|
||
|
@password = password
|
||
|
end
|
||
|
|
||
|
def valid?
|
||
|
false
|
||
|
end
|
||
|
|
||
|
def error
|
||
|
['Unknown error']
|
||
|
end
|
||
|
|
||
|
def self.applicable?
|
||
|
false
|
||
|
end
|
||
|
end
|
||
|
end
|