Flowdock
method

apply_mappings

Importance_0
v6.1.3.1 - Show latest stable - 0 notes - Class: PermissionsPolicy
apply_mappings(sources) 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/permissions_policy.rb, line 121
      def apply_mappings(sources)
        sources.map do |source|
          case source
          when Symbol
            apply_mapping(source)
          when String, Proc
            source
          else
            raise ArgumentError, "Invalid HTTP permissions policy source: #{source.inspect}"
          end
        end
      end
Register or log in to add new notes.