Sha256: 0b8fc1f956c060565a60ac678ea0d801fc7671e49d05ec9820a01a20e53cf713
Contents?: true
Size: 611 Bytes
Versions: 7
Compression:
Stored size: 611 Bytes
Contents
module Dradis module Plugins module PdfExport class BaseController < Dradis::Plugins::Export::BaseController # This method cycles throw the notes in the reporting category and creates # a simple PDF report with them. def index exporter = Dradis::Plugins::PdfExport::Exporter.new(export_options) pdf = exporter.export send_data pdf.render, filename: "dradis_report-#{Time.now.to_i}.pdf", type: 'application/pdf', disposition: 'inline' end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems