Class: ArchiveValidator::RelayablesValidator

Inherits:
CollectionValidator show all
Defined in:
lib/archive_validator/relayables_validator.rb

Instance Attribute Summary

Attributes inherited from BaseValidator

#archive_hash

Instance Method Summary collapse

Methods inherited from CollectionValidator

#validate

Methods inherited from BaseValidator

#initialize, #messages, #valid?

Methods included from ArchiveImporter::ArchiveHelper

#archive_author_diaspora_id, #contact_groups, #contacts, #others_relayables, #person, #post_subscriptions, #posts, #private_key, #relayables, #serialized_private_key

Constructor Details

This class inherits a constructor from ArchiveValidator::BaseValidator

Instance Method Details

#collectionObject


5
6
7
# File 'lib/archive_validator/relayables_validator.rb', line 5

def collection
  relayables
end

#entity_validatorObject


9
10
11
# File 'lib/archive_validator/relayables_validator.rb', line 9

def entity_validator
  OwnRelayableValidator
end