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/Stop.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lib/WebService/TFL/Bus/Response/Stop.pm') diff --git a/lib/WebService/TFL/Bus/Response/Stop.pm b/lib/WebService/TFL/Bus/Response/Stop.pm index 3c98ca5..30f2f91 100644 --- a/lib/WebService/TFL/Bus/Response/Stop.pm +++ b/lib/WebService/TFL/Bus/Response/Stop.pm @@ -1,5 +1,7 @@ package WebService::TFL::Bus::Response::Stop; -use Moose; -with 'WebService::TFL::Bus::ResponseTypeRole' => { type => 'stop' }; +use Moo; +use namespace::autoclean; +use WebService::TFL::Bus::ResponseTypeRole; +with ResponseTypeRole('stop'); 1; -- cgit v1.2.3