Module: WorkflowTemplate::Validation::Adapter::Abstract::Validator
- Included in:
- Adapters::Validation::ActiveModel::Validator, Adapters::Validation::DryValidation::Validator, Adapters::Validation::Generic::Validator
- Defined in:
- lib/workflow_template/validation/adapter/abstract/validator.rb
Instance Method Summary collapse
Instance Method Details
#describe ⇒ Object
16 17 18 |
# File 'lib/workflow_template/validation/adapter/abstract/validator.rb', line 16 def describe raise NotImplementedError, "#{self.class.name}##{__method__} unimplemented" end |
#initialize ⇒ Object
8 9 10 |
# File 'lib/workflow_template/validation/adapter/abstract/validator.rb', line 8 def initialize freeze end |
#validate(_data) ⇒ Object
12 13 14 |
# File 'lib/workflow_template/validation/adapter/abstract/validator.rb', line 12 def validate(_data) raise NotImplementedError, "#{self.class.name}##{__method__} unimplemented" end |