Sha256: e0435eb0d7c1b2a502e8cf144cf84ee43c1c9500fd2e8a1c84236e0dcfd081cd
Contents?: true
Size: 699 Bytes
Versions: 7
Compression:
Stored size: 699 Bytes
Contents
# Configuration ```rb Paradocs.configure do |config| config.explicit_errors = false # set to true if you want all errors from the policies to be explicitly registered in the policy config.whitelisted_keys = [] # enrich it with global white-listed keys if you use WhiteList feature config.default_schema_name = :schema # this name will be set for unnamed schemas config.meta_prefix = "_" # used in #structure and #flatten_structure methods. All the metadata will be prefixed with this prefix. config.whitelist_coercion = nil # set up a Proc here, that receives |value, field.meta| for each whitelisted field in order to enrich the whitelisting logic. end ```
Version data entries
7 entries across 7 versions & 1 rubygems