Sha256: 8488349533174d2c51e40932f98cd3577b9386fc0c344b30f81017115ab9a250

Contents?: true

Size: 315 Bytes

Versions: 26

Compression:

Stored size: 315 Bytes

Contents

module Dradis
  module Plugins
    module Json
      class BaseController < Dradis::Plugins::Export::BaseController

        def index
          exporter = Dradis::Plugins::Json::Exporter.new(export_options)
          json     = exporter.export

          render json: json
        end
      end

    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
dradis-json-3.17.0 app/controllers/dradis/plugins/json/base_controller.rb
dradis-json-3.16.0 app/controllers/dradis/plugins/json/base_controller.rb
dradis-json-3.15.0 app/controllers/dradis/plugins/json/base_controller.rb
dradis-json-3.14.0 app/controllers/dradis/plugins/json/base_controller.rb
dradis-json-3.13.0 app/controllers/dradis/plugins/json/base_controller.rb
dradis-json-3.12.0 app/controllers/dradis/plugins/json/base_controller.rb