Class: RrxConfig::Sources::EnvironmentSource

Inherits:
Base
  • Object
show all
Defined in:
lib/rrx_config/sources/environment_source.rb

Constant Summary collapse

VARIABLE_NAME =
'RRX_CONFIG'

Instance Method Summary collapse

Instance Method Details

#readObject



10
11
12
# File 'lib/rrx_config/sources/environment_source.rb', line 10

def read
  read_json ENV.fetch(VARIABLE_NAME, nil)
end