method

build

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: ContentSecurityPolicy
build(context = nil, nonce = nil, nonce_directives = nil) public

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 291
    def build(context = nil, nonce = nil, nonce_directives = nil)
      nonce_directives = DEFAULT_NONCE_DIRECTIVES if nonce_directives.nil?
      build_directives(context, nonce, nonce_directives).compact.join("; ")
    end
Register or log in to add new notes.