Module: Consumer::Defaults::StartupInfo

Defined in:
lib/consumer/consumer.rb

Class Method Summary collapse

Class Method Details

.defaultObject



252
253
254
# File 'lib/consumer/consumer.rb', line 252

def self.default
  'on'
end

.env_varObject



248
249
250
# File 'lib/consumer/consumer.rb', line 248

def self.env_var
  'STARTUP_INFO'
end

.getObject



244
245
246
# File 'lib/consumer/consumer.rb', line 244

def self.get
  ENV.fetch(env_var, default)
end