Class: SimpleImagesDownloader::Validatable::Validator
- Inherits:
-
Object
- Object
- SimpleImagesDownloader::Validatable::Validator
- Defined in:
- lib/simple_images_downloader/validatable/validator.rb
Overview
Validator class Responsible for defining interface for validators
Direct Known Subclasses
DestinationValidator, FileAccessibilityValidator, FilePersistanceValidator, MimeTypeValidator
Instance Method Summary collapse
Instance Method Details
#validate(_value) ⇒ Object
8 9 10 |
# File 'lib/simple_images_downloader/validatable/validator.rb', line 8 def validate(_value) raise NotImplementedError, 'must be implemented in subclass' end |