class YamlCspConfig::Configuration
Configuration
class for initializer
Attributes
configuration_file_path[RW]
@dynamic configuration_file_path
, yaml_config_base_key
default_env_var_additions_key_prefix[RW]
default_env_var_group_key[RW]
yaml_config_base_key[RW]
@dynamic configuration_file_path
, yaml_config_base_key
Public Class Methods
new()
click to toggle source
# File lib/yaml_csp_config.rb, line 28 def initialize @configuration_file_path = Rails.root.join("config", "content_security_policy.yml") @default_env_var_additions_key_prefix = "CSP_CONFIGURATION_ADDITIONS_" @default_env_var_group_key = "CSP_CONFIGURATION_GROUP_KEY" @yaml_config_base_key = "content_security_policy" end