Class: MyPrecious::CVEs::CVERecord
- Inherits:
-
String
- Object
- String
- MyPrecious::CVEs::CVERecord
- Defined in:
- lib/myprecious/cves.rb
Instance Attribute Summary collapse
-
#score ⇒ Object
Returns the value of attribute score.
-
#vendors ⇒ Object
Returns the value of attribute vendors.
Instance Method Summary collapse
-
#initialize(id, vendors, score) ⇒ CVERecord
constructor
A new instance of CVERecord.
Constructor Details
#initialize(id, vendors, score) ⇒ CVERecord
Returns a new instance of CVERecord.
112 113 114 115 116 117 |
# File 'lib/myprecious/cves.rb', line 112 def initialize(id, vendors, score) super(id) @vendors = vendors @score = score end |
Instance Attribute Details
#score ⇒ Object
Returns the value of attribute score.
119 120 121 |
# File 'lib/myprecious/cves.rb', line 119 def score @score end |
#vendors ⇒ Object
Returns the value of attribute vendors.
119 120 121 |
# File 'lib/myprecious/cves.rb', line 119 def vendors @vendors end |