Class: Inscriber::Config
- Inherits:
-
Object
- Object
- Inscriber::Config
- Defined in:
- lib/inscriber/config.rb
Class Method Summary collapse
Class Method Details
.data ⇒ Object
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 |