Class: PDK::Validate::Metadata::MetadataValidatorGroup

Inherits:
ValidatorGroup show all
Defined in:
lib/pdk/validate/metadata/metadata_validator_group.rb

Instance Attribute Summary

Attributes inherited from Validator

#context, #options, #prepared

Instance Method Summary collapse

Methods inherited from ValidatorGroup

#invoke, #prepare_invoke!, #spinner, #spinner_text, #validator_instances

Methods inherited from Validator

#initialize, #invoke, #prepare_invoke!, #spinner, #spinner_text, #spinners_enabled?, #start_spinner, #stop_spinner, #valid_in_context?

Constructor Details

This class inherits a constructor from PDK::Validate::Validator

Instance Method Details

#nameObject



7
8
9
# File 'lib/pdk/validate/metadata/metadata_validator_group.rb', line 7

def name
  'metadata'
end

#validatorsObject



11
12
13
14
15
16
# File 'lib/pdk/validate/metadata/metadata_validator_group.rb', line 11

def validators
  [
    MetadataSyntaxValidator,
    MetadataJSONLintValidator
  ].freeze
end