Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/archive_validator/others_relayables_validator.rb')
-rw-r--r--lib/archive_validator/others_relayables_validator.rb13
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