Class: Pwl::AnyNonEmptyPasswordPolicy
- Inherits:
-
Object
- Object
- Pwl::AnyNonEmptyPasswordPolicy
- Defined in:
- lib/pwl/password_policy.rb
Instance Method Summary collapse
Instance Method Details
#validate!(master_password) ⇒ Object
9 10 11 |
# File 'lib/pwl/password_policy.rb', line 9 def validate!(master_password) raise InvalidMasterPasswordError.new("Password must not be blank") if master_password.blank? end |