diff options
author | Gianni Ceccarelli <gianni.ceccarelli@net-a-porter.com> | 2013-11-07 12:05:17 +0000 |
---|---|---|
committer | Gianni Ceccarelli <gianni.ceccarelli@net-a-porter.com> | 2013-11-07 12:06:25 +0000 |
commit | b3956bfdb7d000f127b2a70445cbf9bf2287a634 (patch) | |
tree | 33e9726005961cf9a6b9d61468c28f418f959e26 /lib/WebService/TFL/TubeStatus/Types.pm | |
parent | migrate to Moo: bus client (diff) | |
download | HomePanel-b3956bfdb7d000f127b2a70445cbf9bf2287a634.tar.gz HomePanel-b3956bfdb7d000f127b2a70445cbf9bf2287a634.tar.bz2 HomePanel-b3956bfdb7d000f127b2a70445cbf9bf2287a634.zip |
migrate to Moo: tube client
Diffstat (limited to 'lib/WebService/TFL/TubeStatus/Types.pm')
-rw-r--r-- | lib/WebService/TFL/TubeStatus/Types.pm | 11 |
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; |