Sha256: ebf6efbecb17ce7a74e6ba47380a84c19a577c9502f7a496fe71bf899a628466
Contents?: true
Size: 569 Bytes
Versions: 48
Compression:
Stored size: 569 Bytes
Contents
module ForemanPuppet module Parameters module Environment extend ActiveSupport::Concern include Foreman::Controller::Parameters::Taxonomix class_methods do def environment_params_filter Foreman::ParameterFilter.new(ForemanPuppet::Environment).tap do |filter| filter.permit :name add_taxonomix_params_filter(filter) end end end def environment_params self.class.environment_params_filter.filter_params(params, parameter_filter_context) end end end end
Version data entries
48 entries across 48 versions & 1 rubygems