diff options
| author | Alban Peignier | 2018-04-04 10:03:40 +0200 |
|---|---|---|
| committer | GitHub | 2018-04-04 10:03:40 +0200 |
| commit | ecf0dd6406576f8a63ee056fab73b05171c3e767 (patch) | |
| tree | d48bf1be4052ca446bd6c715698d857a9102d914 /lib/tom_tom.rb | |
| parent | 6262b1cf8c536fb59997119a28420584ab08994c (diff) | |
| parent | 2cb5225efbb080707c060e4038ae6d48612515f0 (diff) | |
| download | chouette-core-ecf0dd6406576f8a63ee056fab73b05171c3e767.tar.bz2 | |
Merge pull request #413 from af83/6222-route-way-costs--use-TomTom-matrix-API-instead-of-batch
Route way costs use tom tom matrix api instead of batch. Refs #6222
Diffstat (limited to 'lib/tom_tom.rb')
| -rw-r--r-- | lib/tom_tom.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/tom_tom.rb b/lib/tom_tom.rb index a1a2bda43..fcebcc7ac 100644 --- a/lib/tom_tom.rb +++ b/lib/tom_tom.rb @@ -19,4 +19,8 @@ module TomTom def self.batch(way_costs) TomTom::Batch.new(@connection).batch(way_costs) end + + def self.matrix(way_costs) + TomTom::Matrix.new(@connection).matrix(way_costs) + end end |
