Class: RequestType::Validator::NullValidator
- Inherits:
-
Object
- Object
- RequestType::Validator::NullValidator
- Defined in:
- app/models/request_type/validator.rb
Overview
A NullValidator is used if no specific validator is provided. It accepts everything
Instance Method Summary collapse
Instance Method Details
#default ⇒ Object
98 99 100 |
# File 'app/models/request_type/validator.rb', line 98 def default nil end |
#valid_options ⇒ Object
102 103 104 |
# File 'app/models/request_type/validator.rb', line 102 def [] end |
#validate?(_value) ⇒ Boolean
94 95 96 |
# File 'app/models/request_type/validator.rb', line 94 def validate?(_value) true end |