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



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

def errors
  @errors
end

#validObject

Returns the value of attribute valid

Returns:

  • (Object)

    the current value of valid



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

def valid
  @valid
end

#warningsObject

Returns the value of attribute warnings

Returns:

  • (Object)

    the current value of warnings



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

def warnings
  @warnings
end

Instance Method Details

#invalid?Boolean

Returns:

  • (Boolean)


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

def invalid?
  !valid
end

#valid?Boolean

Returns:

  • (Boolean)


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

def valid?
  valid
end