Class: Dradis::Plugins::JSON::ReportsController
- Inherits:
-
Export::BaseController
- Object
- Export::BaseController
- Dradis::Plugins::JSON::ReportsController
- Defined in:
- app/controllers/dradis/plugins/json/reports_controller.rb
Instance Method Summary collapse
Instance Method Details
#create ⇒ Object
7 8 9 10 11 12 |
# File 'app/controllers/dradis/plugins/json/reports_controller.rb', line 7 def create exporter = Dradis::Plugins::JSON::Exporter.new(export_params) json = exporter.export render json: json end |