File Coverage

blib/lib/Business/Giropay/Request/Issuer.pm
Criterion Covered Total %
statement 11 11 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod 2 2 100.0
total 18 18 100.0


line stmt bran cond sub pod time code
1             package Business::Giropay::Request::Issuer;
2              
3             =head1 NAME
4              
5             Business::Giropay::Request::Issuer - returns a list containing all banks.
6              
7             =cut
8              
9 2     2   16469 use Business::Giropay::Types qw/Str/;
  2         4  
  2         47  
10 2     2   1130 use Moo;
  2         8312  
  2         10  
11             with 'Business::Giropay::Role::Request';
12 2     2   1546 use namespace::clean;
  2         7573  
  2         8  
13              
14             =head1 ATTRIBUTES
15              
16             See L for attributes common to
17             all request classes.
18              
19             =head2 response_class
20              
21             The response class to use. Defaults to L.
22              
23             =cut
24              
25             has response_class => (
26             is => 'ro',
27             isa => Str,
28             default => "Business::Giropay::Response::Issuer",
29             );
30              
31             =head1 METHODS
32              
33             See L in addition to the following:
34              
35             =head2 parameters
36              
37             This request type has no additional parameters and so this method returns
38             an empty array reference.
39              
40             =cut
41              
42             sub parameters {
43 3     3 1 8 return [];
44             }
45              
46             =head2 uri
47              
48             Returns the URI to be appended to L
49             to construct the appropriate URL for the request.
50              
51             =cut
52              
53             sub uri {
54 3     3 1 45 return shift->network . '/issuer';
55             }
56              
57             1;