Method: Ki::KiConfig#read

Defined in:
lib/ki/ki_config.rb

#read(environment) ⇒ Object



9
10
11
12
13
# File 'lib/ki/ki_config.rb', line 9

def read(environment)
  @environment = environment
  @config = YAML.load_file(config_file_path)[environment]
  @config['cors'] ||= true
end