Module: Teleportd::Config
Instance Method Summary collapse
Instance Method Details
#api_key ⇒ Object
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_url ⇒ Object
9 10 11 |
# File 'lib/teleportd/config.rb', line 9 def base_url 'http://api.teleportd.com' end |