Class: Homebrew::Vulns::AdvisoryDatabase::Entry Private
- Defined in:
- vulns/advisory_database.rb
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.
Instance Attribute Summary collapse
-
#fix ⇒ Object
private
Returns the value of attribute fix.
-
#fixed_in ⇒ Object
private
Returns the value of attribute fixed_in.
-
#id ⇒ Object
private
Returns the value of attribute id.
-
#severity ⇒ Object
private
Returns the value of attribute severity.
-
#summary ⇒ Object
private
Returns the value of attribute summary.
-
#upstream ⇒ Object
private
Returns the value of attribute upstream.
Instance Method Summary collapse
Instance Attribute Details
#fix ⇒ Object
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 fix
56 57 58 |
# File 'vulns/advisory_database.rb', line 56 def fix @fix end |
#fixed_in ⇒ Object
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 fixed_in
56 57 58 |
# File 'vulns/advisory_database.rb', line 56 def fixed_in @fixed_in end |
#id ⇒ Object
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 id
56 57 58 |
# File 'vulns/advisory_database.rb', line 56 def id @id end |
#severity ⇒ Object
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 severity
56 57 58 |
# File 'vulns/advisory_database.rb', line 56 def severity @severity end |
#summary ⇒ Object
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 summary
56 57 58 |
# File 'vulns/advisory_database.rb', line 56 def summary @summary end |
#upstream ⇒ Object
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 upstream
56 57 58 |
# File 'vulns/advisory_database.rb', line 56 def upstream @upstream end |
Instance Method Details
#to_api_hash ⇒ Hash{String => T.untyped}
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.
58 59 60 |
# File 'vulns/advisory_database.rb', line 58 def to_api_hash to_h.transform_keys(&:to_s).compact end |