| Total Complexity | 1 |
| Total Lines | 12 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | # frozen_string_literal: true |
||
| 12 | class EntityValidator < Interface |
||
| 13 | # :nocov: |
||
| 14 | # @param [Object] entity |
||
| 15 | # @param [Mapper::Type::Concrete] type |
||
| 16 | # @param [Mapper::Context] context |
||
| 17 | # @return [Array<Array<Attribute, String, Segment>] List of |
||
| 18 | # violations, combined with attribute and segment |
||
| 19 | def validate(entity, type, context) |
||
| 20 | abstract_method |
||
| 21 | end |
||
| 22 | # :nocov: |
||
| 23 | end |
||
| 24 | end |
||
| 28 |