Class: Inscriber::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/inscriber/config.rb

Class Method Summary collapse

Class Method Details

.dataObject



6
7
8
9
# File 'lib/inscriber/config.rb', line 6

def data
  path = ENV['INSCRIBER_CONFIG'] || 'config/inscriber.yml' 
  @data = symbolize_all_keys(YAML.load_file(path))
end