blob: 87eb52fb356bf445b59ccf1d4daa3d92acf2a7ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
package WebService::TFL::TubeStatus::Response::LineStatus; use Moo; use Types::Standard -all; use namespace::autoclean; has [qw(statusSeverity statusSeverityDescription)] => ( is => 'ro', isa => Str, required => 1, ); has reason => ( is => 'ro', isa => Str, ); sub new_from_response { my ($class,$response_data) = @_; return $class->new($response_data); } 1;
|