Class: Ace::LLM::Atoms::ProviderConfigValidator::ValidationResult

Inherits:
Struct
  • Object
show all
Defined in:
lib/ace/llm/atoms/provider_config_validator.rb

Overview

Validation result

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#errorsObject

Returns the value of attribute errors

Returns:

  • (Object)

    the current value of errors



35
36
37
# File 'lib/ace/llm/atoms/provider_config_validator.rb', line 35

def errors
  @errors
end

#validObject

Returns the value of attribute valid

Returns:

  • (Object)

    the current value of valid



35
36
37
# File 'lib/ace/llm/atoms/provider_config_validator.rb', line 35

def valid
  @valid
end

#warningsObject

Returns the value of attribute warnings

Returns:

  • (Object)

    the current value of warnings



35
36
37
# File 'lib/ace/llm/atoms/provider_config_validator.rb', line 35

def warnings
  @warnings
end

Instance Method Details

#invalid?Boolean

Returns:

  • (Boolean)


40
41
42
# File 'lib/ace/llm/atoms/provider_config_validator.rb', line 40

def invalid?
  !valid
end

#valid?Boolean

Returns:

  • (Boolean)


36
37
38
# File 'lib/ace/llm/atoms/provider_config_validator.rb', line 36

def valid?
  valid
end