Module: Backstop::Deploys::Config

Extended by:
Config
Included in:
Config
Defined in:
lib/backstop-deploys/config.rb

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_emailObject



10
11
12
# File 'lib/backstop-deploys/config.rb', line 10

def librato_email
  env!('LIBRATO_EMAIL')
end

#librato_keyObject



14
15
16
# File 'lib/backstop-deploys/config.rb', line 14

def librato_key
  env!('LIBRATO_KEY')
end