Class: Homebrew::Vulns::Match::ResourceRecord Private

Inherits:
T::Struct
  • Object
show all
Defined in:
vulns/match.rb

Overview

This class is part of a private API. This class may only be used in the Homebrew/brew repository. Third parties should avoid using this class if possible, as it may be removed or changed without warning.

Stored resource provenance is a query hint, never a historical verdict.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id:, upstream:, evidence:) ⇒ void

Parameters:



# File ''

const :id, String
const :upstream, T::Array[String]
const :evidence, T::Array[Evidence]

Instance Attribute Details

#evidenceArray<Evidence> (readonly)

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Returns the value of prop evidence.

Returns:



# File ''

const :evidence, T::Array[Evidence]

#idString (readonly)

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Returns the value of prop id.

Returns:



# File ''

const :id, String

#upstreamArray<String> (readonly)

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Returns the value of prop upstream.

Returns:



# File ''

const :upstream, T::Array[String]