summaryrefslogtreecommitdiff
path: root/lib/Travel/Status
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2013-09-25 23:30:08 +0200
committerDaniel Friesel <derf@finalrewind.org>2013-09-25 23:30:08 +0200
commit4a9e26db7db0471c3ca731ff18fede9b7485f81e (patch)
tree08765a7bd8488a256804ef866c8300089ec788f8 /lib/Travel/Status
parent61ddebd50e8e75a471c54d1c8613fbc1a3774884 (diff)
Document TO_JSON method
Diffstat (limited to 'lib/Travel/Status')
-rw-r--r--lib/Travel/Status/DE/VRR/Line.pm4
-rw-r--r--lib/Travel/Status/DE/VRR/Result.pm4
2 files changed, 8 insertions, 0 deletions
diff --git a/lib/Travel/Status/DE/VRR/Line.pm b/lib/Travel/Status/DE/VRR/Line.pm
index 5c12980..f649a92 100644
--- a/lib/Travel/Status/DE/VRR/Line.pm
+++ b/lib/Travel/Status/DE/VRR/Line.pm
@@ -101,6 +101,10 @@ When / how long above information is valid.
Returns a new Travel::Status::DE::VRR::Line object. You should not need to
call this.
+=item $line->TO_JSON
+
+Allows the object data to be serialized to JSON.
+
=back
=head1 DIAGNOSTICS
diff --git a/lib/Travel/Status/DE/VRR/Result.pm b/lib/Travel/Status/DE/VRR/Result.pm
index 00f30c0..e1ebee5 100644
--- a/lib/Travel/Status/DE/VRR/Result.pm
+++ b/lib/Travel/Status/DE/VRR/Result.pm
@@ -149,6 +149,10 @@ field. See L</DEPARTURE TYPES>.
Returns a new Travel::Status::DE::VRR::Result object. You should not need to
call this.
+=item $departure->TO_JSON
+
+Allows the object data to be serialized to JSON.
+
=back
=head1 DEPARTURE TYPES