class SecureHeaders::ContentSecurityPolicyConfig
Constants
- ATTRS
- CONFIG_KEY
- DEFAULT
based on what was suggested in github.com/rails/rails/pull/24961/files
- HEADER_NAME
Public Class Methods
attrs()
click to toggle source
# File lib/secure_headers/headers/content_security_policy_config.rb, line 125 def self.attrs ATTRS end
Public Instance Methods
make_report_only()
click to toggle source
# File lib/secure_headers/headers/content_security_policy_config.rb, line 145 def make_report_only ContentSecurityPolicyReportOnlyConfig.new(self.to_h) end
report_only?()
click to toggle source
# File lib/secure_headers/headers/content_security_policy_config.rb, line 141 def report_only? false end