Sha256: 7c2cb3d6af2851268e56624d420f725fa7541471efc48f32c4024d54ce91ca71
Contents?: true
Size: 437 Bytes
Versions: 3
Compression:
Stored size: 437 Bytes
Contents
module Honeycomb ENV_CONFIG = begin writekey = ENV['HONEYCOMB_WRITEKEY'] dataset = ENV['HONEYCOMB_DATASET'] || ENV['PWD'].split('/').last withouts = ENV['HONEYCOMB_WITHOUT'] || '' without = withouts.split(',').map(&:to_sym) if writekey {writekey: writekey, dataset: dataset, without: without}.freeze end end DEBUG = if ENV.key?('HONEYCOMB_DEBUG') ENV['HONEYCOMB_DEBUG'].upcase.to_sym end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
honeycomb-beeline-0.1.0 | lib/honeycomb/env_config.rb |
honeycomb-beeline-0.0.2 | lib/honeycomb/env_config.rb |
honeycomb-beeline-0.0.1 | lib/honeycomb/env_config.rb |