Sha256: 4eea23875d396e96685739b1e64bb3364f2f5b67ef9b8a2f57fa47167ed0eba3
Contents?: true
Size: 480 Bytes
Versions: 102
Compression:
Stored size: 480 Bytes
Contents
module Foreman::Controller::Parameters::ScapContent extend ActiveSupport::Concern class_methods do def scap_content_params_filter Foreman::ParameterFilter.new(::ForemanOpenscap::ScapContent).tap do |filter| filter.permit :original_filename, :scap_file, :title, :location_ids => [], :organization_ids => [] end end end def scap_content_params self.class.scap_content_params_filter.filter_params(params, parameter_filter_context) end end
Version data entries
102 entries across 102 versions & 1 rubygems