Class: SecureHeaders::ContentSecurityPolicyReportOnlyConfig
- Inherits:
-
ContentSecurityPolicyConfig
- Object
- ContentSecurityPolicyConfig
- SecureHeaders::ContentSecurityPolicyReportOnlyConfig
- Defined in:
- lib/secure_headers/headers/content_security_policy_config.rb
Constant Summary collapse
- HEADER_NAME =
"Content-Security-Policy-Report-Only".freeze
Constants inherited from ContentSecurityPolicyConfig
SecureHeaders::ContentSecurityPolicyConfig::ATTRS, SecureHeaders::ContentSecurityPolicyConfig::DEFAULT
Instance Method Summary collapse
Methods inherited from ContentSecurityPolicyConfig
Methods included from DynamicConfig
#==, #append, #directive_value, #dup, #initialize, #initialize_copy, #merge, #merge!, #opt_out?, #to_h, #update_directive
Instance Method Details
#make_report_only ⇒ Object
116 117 118 |
# File 'lib/secure_headers/headers/content_security_policy_config.rb', line 116 def make_report_only self end |
#report_only? ⇒ Boolean
112 113 114 |
# File 'lib/secure_headers/headers/content_security_policy_config.rb', line 112 def report_only? true end |