Class: ActionDispatch::ContentSecurityPolicy

Inherits:
Object
  • Object
show all
Defined in:
lib/yaml_csp_config/csp_ext.rb

Overview

Reopen class and add new method

Instance Method Summary collapse

Instance Method Details

#load_from_ymlObject



6
7
8
# File 'lib/yaml_csp_config/csp_ext.rb', line 6

def load_from_yml
  YamlCspConfig::YamlLoader.call(self)
end