summaryrefslogtreecommitdiff
path: root/lib/Travel/Status/DE/HAFAS
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Travel/Status/DE/HAFAS')
-rw-r--r--lib/Travel/Status/DE/HAFAS/Services.pm.PL2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Travel/Status/DE/HAFAS/Services.pm.PL b/lib/Travel/Status/DE/HAFAS/Services.pm.PL
index 638bd53..5836a94 100644
--- a/lib/Travel/Status/DE/HAFAS/Services.pm.PL
+++ b/lib/Travel/Status/DE/HAFAS/Services.pm.PL
@@ -26,6 +26,8 @@ sub load_instance {
client => $data->{options}{client},
auth => $data->{options}{auth},
},
+ coverage =>
+ { regions => $data->{coverage}{realtimeCoverage}{region} // [] },
#coverage => {
# area => $data->{coverage}{realtimeCoverage}{area},