summaryrefslogtreecommitdiff
path: root/lib/WebService/TFL/TubeStatus/Response.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/WebService/TFL/TubeStatus/Response.pm')
-rw-r--r--lib/WebService/TFL/TubeStatus/Response.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/WebService/TFL/TubeStatus/Response.pm b/lib/WebService/TFL/TubeStatus/Response.pm
index f8cd8bf..191abe7 100644
--- a/lib/WebService/TFL/TubeStatus/Response.pm
+++ b/lib/WebService/TFL/TubeStatus/Response.pm
@@ -1,11 +1,13 @@
package WebService::TFL::TubeStatus::Response;
-use Moose;
+use Moo;
+use WebService::TFL::TubeStatus::Types -all;
use WebService::TFL::TubeStatus::Response::Line;
+use Types::Standard -all;
use namespace::autoclean;
has lines => (
is => 'ro',
- isa => 'ArrayRef[WebService::TFL::TubeStatus::Response::Line]',
+ isa => ArrayRef[LineT],
required => 1,
);