Response.pm untested

filter: Statementstmt 0.0% 0 / 31 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 7 Podpod n/a totaltotal 0.0% 0 / 38 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Business::PaperlessTrans::Response;
2 use strict;
3 use warnings;
4 use namespace::autoclean;
5  
6 our $VERSION = '0.002000'; # VERSION
7  
8 use Moose;
9 extends 'MooseY::RemoteHelper::MessagePart';
10  
11 use MooseX::Types::Common::String qw( SimpleStr );
12 use Moose::Util::TypeConstraints qw( enum );
13 use MooseX::Types::UUID qw( UUID );
14  
15 has transaction_id => (
16 remote_name => 'TransactionID',
17 isa => UUID|SimpleStr,
18 is => 'ro',
19 );
20  
21 has code => (
22 remote_name => 'ResponseCode',
23 isa => enum( [qw( 0 1 2 )] ),
24 is => 'ro',
25 );
26  
27 has message => (
28 remote_name => 'Message',
29 isa => SimpleStr,
30 is => 'ro',
31 );
32  
33 has timestamp => (
34 remote_name => 'DateTimeStamp',
35 isa => SimpleStr,
36 is => 'ro',
37 );
38  
39 __PACKAGE__->meta->make_immutable;
40 1;
41 # ABSTRACT: Base Response
42  
43 __END__