method

apply_mapping

Importance_0
v7.1.3.4 - Show latest stable - 0 notes - Class: ContentSecurityPolicy
apply_mapping(source) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_dispatch/http/content_security_policy.rb, line 310
      def apply_mapping(source)
        MAPPINGS.fetch(source) do
          raise ArgumentError, "Unknown content security policy source mapping: #{source.inspect}"
        end
      end
Register or log in to add new notes.