File Coverage

blib/lib/PayProp/API/Public/Client/Response/Tag.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1             package PayProp::API::Public::Client::Response::Tag;
2              
3 10     10   288861 use strict;
  10         21  
  10         411  
4 10     10   59 use warnings;
  10         19  
  10         655  
5              
6 10     10   694 use Mouse;
  10         35371  
  10         75  
7             with qw/ PayProp::API::Public::Client::Role::JSON /;
8              
9              
10             has name => (is => 'ro', isa => 'Str');
11             has id => (is => 'ro', isa => 'Str' );
12             has type => (is => 'ro', isa => 'Maybe[Str]' );
13             has links => (is => 'ro', isa => 'Maybe[HashRef]');
14              
15             __PACKAGE__->meta->make_immutable;