Sha256: 2f30c989794d5395a6e143b23bec5f8000b1f14d1e31ec352570a9e54e6a0b00

Contents?: true

Size: 530 Bytes

Versions: 25

Compression:

Stored size: 530 Bytes

Contents

module Dradis
  module Plugins
    module Export
      class BaseController < Rails.application.config.dradis.base_export_controller_class_name.to_s.constantize

        protected

        # Protected: allows export plugins to access the options sent from the
        # framework via the session object (see Export#create).
        #
        # Returns a Hash with indifferent access.
        def export_options
          @export_options ||= session[:export_manager].with_indifferent_access
        end
      end
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
dradis-plugins-3.10.0 app/controllers/dradis/plugins/export/base_controller.rb
dradis-plugins-3.9.0 app/controllers/dradis/plugins/export/base_controller.rb
dradis-plugins-3.8.0 app/controllers/dradis/plugins/export/base_controller.rb
dradis-plugins-3.7.0 app/controllers/dradis/plugins/export/base_controller.rb
dradis-plugins-3.6.0 app/controllers/dradis/plugins/export/base_controller.rb