line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Business::Giropay::Role::Network; |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
=head1 NAME |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
Business::Giropay::Role::Network - 'network' role consumed by Core, Request and Response roles |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
=cut |
8
|
|
|
|
|
|
|
|
9
|
8
|
|
|
8
|
|
3248
|
use Business::Giropay::Types qw/Enum/; |
|
8
|
|
|
|
|
8
|
|
|
8
|
|
|
|
|
44
|
|
10
|
8
|
|
|
8
|
|
2318
|
use Moo::Role; |
|
8
|
|
|
|
|
51
|
|
|
8
|
|
|
|
|
44
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
=head2 network |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
Network type. Currently the following are supported: |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
=over |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=item * eps |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=item * giropay |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=item * ideal |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=back |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=cut |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
has network => ( |
31
|
|
|
|
|
|
|
is => 'ro', |
32
|
|
|
|
|
|
|
isa => Enum [qw( eps giropay ideal)], |
33
|
|
|
|
|
|
|
required => 1, |
34
|
|
|
|
|
|
|
); |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
1; |