Class: Homebrew::Vulns::Identify::RegistryPackage Private

Inherits:
Struct
  • Object
show all
Defined in:
vulns/identify.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.

ecosystem is the OSV.dev ecosystem identifier for name, or "CPAN" for CPAN distributions (queried via CPANSA, not OSV).

Instance Attribute Summary collapse

Instance Attribute Details

#ecosystemObject

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 attribute ecosystem

Returns:

  • (Object)

    the current value of ecosystem



88
89
90
# File 'vulns/identify.rb', line 88

def ecosystem
  @ecosystem
end

#nameObject

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 attribute name

Returns:

  • (Object)

    the current value of name



88
89
90
# File 'vulns/identify.rb', line 88

def name
  @name
end

#purlObject

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 attribute purl

Returns:

  • (Object)

    the current value of purl



88
89
90
# File 'vulns/identify.rb', line 88

def purl
  @purl
end

#versionObject

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 attribute version

Returns:

  • (Object)

    the current value of version



88
89
90
# File 'vulns/identify.rb', line 88

def version
  @version
end