summaryrefslogtreecommitdiff
path: root/lib/WebService/TFL/Bus/Response/Prediction.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/WebService/TFL/Bus/Response/Prediction.pm')
-rw-r--r--lib/WebService/TFL/Bus/Response/Prediction.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/WebService/TFL/Bus/Response/Prediction.pm b/lib/WebService/TFL/Bus/Response/Prediction.pm
index d3ea931..49a4b76 100644
--- a/lib/WebService/TFL/Bus/Response/Prediction.pm
+++ b/lib/WebService/TFL/Bus/Response/Prediction.pm
@@ -1,5 +1,7 @@
package WebService::TFL::Bus::Response::Prediction;
-use Moose;
-with 'WebService::TFL::Bus::ResponseTypeRole' => { type => 'prediction' };
+use Moo;
+use namespace::autoclean;
+use WebService::TFL::Bus::ResponseTypeRole;
+with ResponseTypeRole('prediction');
1;