Method: Hanami::Config::Actions::ContentSecurityPolicy#to_s
- Defined in:
- lib/hanami/config/actions/content_security_policy.rb
#to_s ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
124 125 126 127 128 |
# File 'lib/hanami/config/actions/content_security_policy.rb', line 124 def to_s @policy.map do |key, value| "#{dasherize(key)} #{value}" end.join(";") end |