Total Complexity | 1 |
Total Lines | 12 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | # frozen_string_literal: true |
||
13 | class AttributeValidator < Interface |
||
14 | include Mixin::Errors |
||
15 | # :nocov: |
||
16 | # @param [Object] value Attribute value |
||
17 | # @param [Mapper::Type::Attribute] attribute |
||
18 | # @param [Mapper::Context] context |
||
19 | # @return [Array<String>] List of violations |
||
20 | def validate(value, attribute, context) |
||
21 | abstract_method |
||
22 | end |
||
23 | # :nocov: |
||
24 | end |
||
25 | end |
||
29 |