Class: Dradis::Plugins::PdfExport::Processor
- Inherits:
-
Prawn::Document
- Object
- Prawn::Document
- Dradis::Plugins::PdfExport::Processor
- Defined in:
- lib/dradis/plugins/pdf_export/exporter.rb
Instance Method Summary collapse
- #generate ⇒ Object
-
#initialize(args = {}) ⇒ Processor
constructor
A new instance of Processor.
Constructor Details
#initialize(args = {}) ⇒ Processor
Returns a new instance of Processor.
6 7 8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/dradis/plugins/pdf_export/exporter.rb', line 6 def initialize(args={}) super(top_margin: 70) content_service = args[:content_service] @author = 'Security Tester' @email = 'tester@securitytesting.com' @issues = content_service.all_issues @notes = content_service.all_notes @title = "Dradis Framework - v#{Dradis::CE::VERSION::STRING}" sort_issues end |
Instance Method Details
#generate ⇒ Object
20 21 22 23 24 25 26 27 28 |
# File 'lib/dradis/plugins/pdf_export/exporter.rb', line 20 def generate cover_page project_notes summary_of_findings detailed_findings tool_list # outline end |