Public Instance methods
content_security_policy()
If a block is given, yield the current content security policy. Returns the current content security policy.
[show source]
# File lib/roda/plugins/content_security_policy.rb 288 def content_security_policy 289 policy = @_response.content_security_policy 290 yield policy if defined?(yield) 291 policy 292 end