Module: Consumer::Defaults::StartupInfo
- Defined in:
- lib/consumer/consumer.rb
Class Method Summary collapse
Class Method Details
.default ⇒ Object
252 253 254 |
# File 'lib/consumer/consumer.rb', line 252 def self.default 'on' end |
.env_var ⇒ Object
248 249 250 |
# File 'lib/consumer/consumer.rb', line 248 def self.env_var 'STARTUP_INFO' end |
.get ⇒ Object
244 245 246 |
# File 'lib/consumer/consumer.rb', line 244 def self.get ENV.fetch(env_var, default) end |