File Coverage

blib/lib/Business/Giropay/Role/Urls.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package Business::Giropay::Role::Urls;
2              
3             =head1 NAME
4              
5             Business::Giropay::Role::Urls - 'urls' role for urlRedirect and urlNotify
6              
7             =cut
8              
9 2     2   796 use Business::Giropay::Types qw/Str/;
  2         2  
  2         9  
10 2     2   539 use Moo::Role;
  2         3  
  2         7  
11              
12             =head1 ATTRIBUTES
13              
14             =head2 urlRedirect
15              
16             Shop URL to which the customer is to be sent after the payment.
17              
18             =cut
19              
20             has urlRedirect => (
21             is => 'ro',
22             isa => Str,
23             );
24              
25             =head2 urlNotify
26              
27             Shop URL to which the outgoing payment is reported.
28              
29             =cut
30              
31             has urlNotify => (
32             is => 'ro',
33             isa => Str,
34             );
35              
36             1;