summaryrefslogtreecommitdiff
path: root/lib/WebService/TFL/TubeStatus/Types.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/WebService/TFL/TubeStatus/Types.pm')
-rw-r--r--lib/WebService/TFL/TubeStatus/Types.pm11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/WebService/TFL/TubeStatus/Types.pm b/lib/WebService/TFL/TubeStatus/Types.pm
new file mode 100644
index 0000000..d1cb141
--- /dev/null
+++ b/lib/WebService/TFL/TubeStatus/Types.pm
@@ -0,0 +1,11 @@
+package WebService::TFL::TubeStatus::Types;
+use strict;
+use warnings;
+use Type::Library -base, -declare => qw(LineT LineStatusT);
+use Type::Utils -all;
+use namespace::autoclean;
+
+class_type LineT, { class => 'WebService::TFL::TubeStatus::Response::Line' };
+class_type LineStatusT, { class => 'WebService::TFL::TubeStatus::Response::LineStatus' };
+
+1;