Skip to content

Commit a123597

Browse files
committed
Update reader attributes for cvss 4
1 parent 7a87d04 commit a123597

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/cvss_suite/cvss_40_and_later.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ module CvssSuite
1010
# This class represents any CVSS vector. Do not instantiate this class!
1111
class Cvss40AndLater < Cvss
1212
##
13-
# Metric of a CVSS vector for CVSS 2, 3, 3.1.
14-
attr_reader :temporal, :environmental
13+
# Metric of a CVSS vector for CVSS 4.0.
14+
attr_reader :supplemental, :environmental, :environmental_security, :threat
1515

1616
##
1717
# Creates a new CVSS vector by a +vector+, for all CVSS versions from 4.0.

0 commit comments

Comments
 (0)