Class: MetzScan::Calibration::ProjectAnalyzerEvidenceRunner::TargetRun

Inherits:
Object
  • Object
show all
Defined in:
lib/metz_scan/calibration/project_analyzer_evidence_runner/summary.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ TargetRun

Returns a new instance of TargetRun.



56
57
58
# File 'lib/metz_scan/calibration/project_analyzer_evidence_runner/summary.rb', line 56

def initialize(options)
  @options = options
end

Instance Attribute Details

#findingsObject (readonly)

Returns the value of attribute findings.



60
61
62
# File 'lib/metz_scan/calibration/project_analyzer_evidence_runner/summary.rb', line 60

def findings
  @findings
end

#offensesObject (readonly)

Returns the value of attribute offenses.



60
61
62
# File 'lib/metz_scan/calibration/project_analyzer_evidence_runner/summary.rb', line 60

def offenses
  @offenses
end

Instance Method Details

#callObject



62
63
64
65
66
# File 'lib/metz_scan/calibration/project_analyzer_evidence_runner/summary.rb', line 62

def call
  @findings = project_findings
  @offenses = Commands::Scan::ProjectAnalyzerOffenses.build(findings).offenses
  self
end

#metadataObject



68
69
70
# File 'lib/metz_scan/calibration/project_analyzer_evidence_runner/summary.rb', line 68

def 
  .merge()
end