module Zantetsuken

A policy that defines sources from which content should be able to load in the browser when you visit this Rails application.

Constants

VERSION

Public Class Methods

load(base_policy = ActionDispatch::ContentSecurityPolicy.new) click to toggle source
# File lib/zantetsuken.rb, line 16
def load(base_policy = ActionDispatch::ContentSecurityPolicy.new)
  self::Ruleset.load(base_policy)
end