Class: Security::MergeReportsService
- Inherits:
-
Object
- Object
- Security::MergeReportsService
- Defined in:
- app/services/security/merge_reports_service.rb
Instance Attribute Summary collapse
-
#source_reports ⇒ Object
readonly
Returns the value of attribute source_reports.
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(*source_reports) ⇒ MergeReportsService
constructor
A new instance of MergeReportsService.
Constructor Details
#initialize(*source_reports) ⇒ MergeReportsService
Returns a new instance of MergeReportsService.
7 8 9 |
# File 'app/services/security/merge_reports_service.rb', line 7 def initialize(*source_reports) @source_reports = source_reports end |
Instance Attribute Details
#source_reports ⇒ Object (readonly)
Returns the value of attribute source_reports.
5 6 7 |
# File 'app/services/security/merge_reports_service.rb', line 5 def source_reports @source_reports end |
Instance Method Details
#execute ⇒ Object
11 12 13 14 15 |
# File 'app/services/security/merge_reports_service.rb', line 11 def execute copy_resources_to_target_report copy_findings_to_target target_report end |