Overpex v0.3.1 Overpex.Config

Provides functions to get values defined on the config files

Summary

Functions

Get timeout in ms to be used when quering the Overpass API

Get URL to the Overpass API

Functions

timeout()
timeout() :: Integer.t

Get timeout in ms to be used when quering the Overpass API

Return values

Returns the value found in the config files. If nothing is found, returns the default value of 5000 (5 seconds)

url()
url() :: String.t

Get URL to the Overpass API

Return values

Returns the value found in the config files. If nothing is found, returns the default value