Module: Teleportd::Config

Extended by:
Config
Included in:
Config
Defined in:
lib/teleportd/config.rb

Instance Method Summary collapse

Instance Method Details

#api_keyObject



5
6
7
# File 'lib/teleportd/config.rb', line 5

def api_key
  ENV['TELEPORTD_API_KEY'] ||= raise "ENV var for TELEPORTD_API_KEY must be set"
end

#base_urlObject



9
10
11
# File 'lib/teleportd/config.rb', line 9

def base_url
  'http://api.teleportd.com'
end