diff options
Diffstat (limited to 'lib/archive_validator/others_relayables_validator.rb')
-rw-r--r-- | lib/archive_validator/others_relayables_validator.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/archive_validator/others_relayables_validator.rb b/lib/archive_validator/others_relayables_validator.rb new file mode 100644 index 000000000..7352c9957 --- /dev/null +++ b/lib/archive_validator/others_relayables_validator.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +class ArchiveValidator + class OthersRelayablesValidator < CollectionValidator + def collection + others_relayables + end + + def entity_validator + RelayableValidator + end + end +end |