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-4.7.0 app/controllers/dradis/plugins/export/base_controller.rb
dradis-plugins-4.6.1 app/controllers/dradis/plugins/export/base_controller.rb
dradis-plugins-4.5.0 app/controllers/dradis/plugins/export/base_controller.rb
dradis-plugins-4.4.0 app/controllers/dradis/plugins/export/base_controller.rb
dradis-plugins-4.3.0 app/controllers/dradis/plugins/export/base_controller.rb
dradis-plugins-4.2.0 app/controllers/dradis/plugins/export/base_controller.rb
dradis-plugins-4.1.0 app/controllers/dradis/plugins/export/base_controller.rb
dradis-plugins-4.0.0 app/controllers/dradis/plugins/export/base_controller.rb
dradis-plugins-3.22.0 app/controllers/dradis/plugins/export/base_controller.rb
dradis-plugins-3.21.0 app/controllers/dradis/plugins/export/base_controller.rb
dradis-plugins-3.20.0 app/controllers/dradis/plugins/export/base_controller.rb
dradis-plugins-3.19.0 app/controllers/dradis/plugins/export/base_controller.rb
dradis-plugins-3.18.0 app/controllers/dradis/plugins/export/base_controller.rb
dradis-plugins-3.17.0 app/controllers/dradis/plugins/export/base_controller.rb
dradis-plugins-3.16.0 app/controllers/dradis/plugins/export/base_controller.rb
dradis-plugins-3.15.0 app/controllers/dradis/plugins/export/base_controller.rb
dradis-plugins-3.14.0 app/controllers/dradis/plugins/export/base_controller.rb
dradis-plugins-3.13.0 app/controllers/dradis/plugins/export/base_controller.rb
dradis-plugins-3.12.0 app/controllers/dradis/plugins/export/base_controller.rb
dradis-plugins-3.11.0 app/controllers/dradis/plugins/export/base_controller.rb