Module: Cvss::Helpers

Included in:
Engine
Defined in:
lib/cvss/helpers.rb

Instance Method Summary collapse

Instance Method Details

#data_availabilityObject



9
10
11
# File 'lib/cvss/helpers.rb', line 9

def data_availability
  @base[:a]
end

#data_confidentialityObject



6
7
8
# File 'lib/cvss/helpers.rb', line 6

def data_confidentiality
  @base[:c]
end

#data_integrityObject



3
4
5
# File 'lib/cvss/helpers.rb', line 3

def data_integrity
  @base[:i]
end