Class: Gitlab::Ci::Reports::Security::Analyzer
- Inherits:
-
Object
- Object
- Gitlab::Ci::Reports::Security::Analyzer
- Defined in:
- lib/gitlab/ci/reports/security/analyzer.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#vendor ⇒ Object
readonly
Returns the value of attribute vendor.
-
#version ⇒ Object
readonly
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(id:, name:, version:, vendor:) ⇒ Analyzer
constructor
A new instance of Analyzer.
Constructor Details
#initialize(id:, name:, version:, vendor:) ⇒ Analyzer
Returns a new instance of Analyzer.
10 11 12 13 14 15 |
# File 'lib/gitlab/ci/reports/security/analyzer.rb', line 10 def initialize(id:, name:, version:, vendor:) @id = id @name = name @version = version @vendor = vendor end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
8 9 10 |
# File 'lib/gitlab/ci/reports/security/analyzer.rb', line 8 def id @id end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
8 9 10 |
# File 'lib/gitlab/ci/reports/security/analyzer.rb', line 8 def name @name end |
#vendor ⇒ Object (readonly)
Returns the value of attribute vendor.
8 9 10 |
# File 'lib/gitlab/ci/reports/security/analyzer.rb', line 8 def vendor @vendor end |
#version ⇒ Object (readonly)
Returns the value of attribute version.
8 9 10 |
# File 'lib/gitlab/ci/reports/security/analyzer.rb', line 8 def version @version end |