Class: Dradis::Plugins::Calculators::CVSS::BaseController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- Dradis::Plugins::Calculators::CVSS::BaseController
- Defined in:
- app/controllers/dradis/plugins/calculators/cvss/base_controller.rb
Overview
Does it matter that we’re inheriting from the no-frills controller?
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
4 5 6 7 8 |
# File 'app/controllers/dradis/plugins/calculators/cvss/base_controller.rb', line 4 def index @cvss3_vector = Hash.new { |h, k| h[k] = 'X' } @cvss4_vector = Dradis::Plugins::Calculators::CVSS::V4::DEFAULT_CVSS_V4.clone @cvss_version = '4.0' end |