blob: 2e8e22b0f235cb6767251951993cdf63d3779374 (
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::clean; 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;
|