File Coverage

blib/lib/PayProp/API/Public/Client/Util/Request.pm
Criterion Covered Total %
statement 9 10 90.0
branch n/a
condition n/a
subroutine 3 4 75.0
pod n/a
total 12 14 85.7


line stmt bran cond sub pod time code
1             package PayProp::API::Public::Client::Util::Request;
2              
3 1     1   317850 use strict;
  1         3  
  1         67  
4 1     1   8 use warnings;
  1         2  
  1         84  
5              
6 1     1   626 use Mouse;
  1         28449  
  1         4  
7             with qw/ PayProp::API::Public::Client::Role::Request /;
8             with qw/ PayProp::API::Public::Client::Role::APIRequest /;
9              
10              
11             has '+url' => ( default => sub { '' } );
12              
13             has query_params => (
14             is => 'rw',
15             isa => 'ArrayRef',
16             lazy => 1,
17             default => sub { [] },
18             );
19              
20 0     0     sub _query_params { shift->query_params }
21              
22             __PACKAGE__->meta->make_immutable;