method
nonce_directive?
v5.2.3 -
Show latest stable
- Class:
ActionDispatch::ContentSecurityPolicy
nonce_directive?(directive)private
No documentation available.
# File actionpack/lib/action_dispatch/http/content_security_policy.rb, line 268
def nonce_directive?(directive)
NONCE_DIRECTIVES.include?(directive)
end