Class: MetadataPresenter::AcceptValidator
- Inherits:
-
BaseUploadValidator
- Object
- BaseValidator
- BaseUploadValidator
- MetadataPresenter::AcceptValidator
- Defined in:
- app/validators/metadata_presenter/accept_validator.rb
Instance Attribute Summary
Attributes inherited from BaseValidator
Instance Method Summary collapse
Methods inherited from BaseUploadValidator
#error_message_hash, #invalid_answer?, #user_answer
Methods inherited from BaseValidator
#allow_blank?, #custom_error_message, #default_error_message, #error_key, #error_message_hash, #initialize, #invalid_answer?, #schema_key, #user_answer, #valid?, #validation_value
Constructor Details
This class inherits a constructor from MetadataPresenter::BaseValidator
Instance Method Details
#error_name ⇒ Object
3 4 5 |
# File 'app/validators/metadata_presenter/accept_validator.rb', line 3 def error_name 'accept' end |