Module: Backstop::Deploys::Config
Instance Method Summary collapse
Instance Method Details
#env!(key) ⇒ Object
6 7 8 |
# File 'lib/backstop-deploys/config.rb', line 6 def env!(key) ENV[key] || raise("#{key} not found in ENV") end |
#librato_email ⇒ Object
10 11 12 |
# File 'lib/backstop-deploys/config.rb', line 10 def librato_email env!('LIBRATO_EMAIL') end |
#librato_key ⇒ Object
14 15 16 |
# File 'lib/backstop-deploys/config.rb', line 14 def librato_key env!('LIBRATO_KEY') end |