Class: Longleaf::MetadataValidator

Inherits:
ConfigurationValidator show all
Defined in:
lib/longleaf/services/metadata_validator.rb

Overview

Validator for file metadata

Instance Attribute Summary

Attributes inherited from ConfigurationValidator

#result

Instance Method Summary collapse

Methods inherited from ConfigurationValidator

#assert, #fail, #register_error, #register_on_failure, #validate_config

Constructor Details

#initialize(config) ⇒ MetadataValidator

Returns a new instance of MetadataValidator.

Parameters:

  • config (Hash)

    hash containing the application configuration



12
13
14
# File 'lib/longleaf/services/metadata_validator.rb', line 12

def initialize(config)
  super(config)
end