From 75fe8d4a588abd4da62685ab64dfcaafc07cfae6 Mon Sep 17 00:00:00 2001 From: Gianni Ceccarelli Date: Thu, 7 Nov 2013 11:59:14 +0000 Subject: migrate to Moo: bus client --- lib/WebService/TFL/Bus/Response/Prediction.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lib/WebService/TFL/Bus/Response/Prediction.pm') 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; -- cgit v1.2.3