method

apply_mapping

apply_mapping(source)
private

No documentation available.

# File actionpack/lib/action_dispatch/http/content_security_policy.rb, line 313
      def apply_mapping(source)
        MAPPINGS.fetch(source) do
          raise ArgumentError, "Unknown content security policy source mapping: #{source.inspect}"
        end
      end