class SecureHeaders::ContentSecurityPolicyConfig
Constants
- ATTRS
- 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 127 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 147 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 143 def report_only? false end