summaryrefslogtreecommitdiff
path: root/lib/Travel/Status/DE/EFA
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2014-03-02 22:53:23 +0100
committerDaniel Friesel <derf@finalrewind.org>2014-03-02 22:53:23 +0100
commite6e55d5003e7194d97d9f18eced7e17ae4b81ec7 (patch)
tree6ddc2a3a76b4f7ea0a5ce5dd8a2a72a1d563c79e /lib/Travel/Status/DE/EFA
parentbb2ec6920d6ad5aad255f917a4b3fd2c9b588e45 (diff)
Update platform, platform_db accessors for changed EFA API
Diffstat (limited to 'lib/Travel/Status/DE/EFA')
-rw-r--r--lib/Travel/Status/DE/EFA/Result.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Travel/Status/DE/EFA/Result.pm b/lib/Travel/Status/DE/EFA/Result.pm
index 151b77a..691c49a 100644
--- a/lib/Travel/Status/DE/EFA/Result.pm
+++ b/lib/Travel/Status/DE/EFA/Result.pm
@@ -9,8 +9,8 @@ use parent 'Class::Accessor';
our $VERSION = '1.07';
Travel::Status::DE::EFA::Result->mk_ro_accessors(
- qw(countdown date delay destination is_cancelled info key line lineref platform
- platform_db sched_date sched_time time type)
+ qw(countdown date delay destination is_cancelled info key line lineref
+ platform platform_db platform_name sched_date sched_time time type)
);
sub new {
@@ -48,7 +48,7 @@ departure received by Travel::Status::DE::EFA
for my $departure ($status->results) {
printf(
- "At %s: %s to %s from platform %s\n",
+ "At %s: %s to %s from platform %d\n",
$departure->time, $departure->line, $departure->destination,
$departure->platform
);
@@ -121,7 +121,7 @@ detail.
=item $departure->platform
-Departure platform number.
+Departure platform number (may not be a number).
=item $departure->platform_db