aboutsummaryrefslogtreecommitdiffstats
path: root/spec/lib
diff options
context:
space:
mode:
authorTeddy Wing2018-03-12 12:28:19 +0100
committerTeddy Wing2018-03-14 16:38:39 +0100
commit0d5e6f92f74a06807c67c9d0427dd5b5543a6400 (patch)
treea0496938aed2517a9f113eb53fb2769fb24d9266 /spec/lib
parentac2f38518f6c0aa81fcc622ce5f0ab3b3837dbe0 (diff)
downloadchouette-core-0d5e6f92f74a06807c67c9d0427dd5b5543a6400.tar.bz2
TomTom#batch: Populate WayCosts with distance & time from API
Look through the API response from `/batch` and extract the distance & time values given to us by TomTom. These are inserted in the `WayCost`s given to use in the argument to `#batch`. At the end, we get a list of `WayCost`s that are completely filled with distance & time values. We need to split up this code a bit to make it more testable, but already this seems to function correctly. Refs #6095
Diffstat (limited to 'spec/lib')
0 files changed, 0 insertions, 0 deletions