File Coverage

blib/lib/Business/OnlinePayment/Iridium/Action/GetGatewayEntryPoints.pm
Criterion Covered Total %
statement 3 5 60.0
branch n/a
condition n/a
subroutine 1 3 33.3
pod 1 1 100.0
total 5 9 55.5


line stmt bran cond sub pod time code
1             package Business::OnlinePayment::Iridium::Action::GetGatewayEntryPoints;
2              
3 1     1   517 use Moose;
  1         3  
  1         6  
4              
5             with 'Business::OnlinePayment::Iridium::Action';
6              
7             # PODNAME: Business::OnlinePayment::Iridium::Action::GetGatewayEntryPoints
8             # ABSTRACT: Query PayVectors gateways
9              
10 0     0     sub _build__type { return 'GetGatewayEntryPoints' }
11              
12              
13             sub template {
14 0     0 1   return <<DATA;
15             <?xml version="1.0" encoding="utf-8"?>
16             <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
17             xmlns:xsd="http://www.w3.org/2001/XMLSchema"
18             xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
19             <soap:Body>
20             <GetGatewayEntryPoints xmlns="https://www.thepaymentgateway.net/">
21             <GetGatewayEntryPointsMessage>
22             <MerchantAuthentication MerchantID="[% MerchantID %]" Password="[% Password %]" />
23             </GetGatewayEntryPointsMessage>
24             </GetGatewayEntryPoints>
25             </soap:Body>
26             </soap:Envelope>
27             DATA
28             }
29              
30             1;
31              
32             __END__
33              
34             =pod
35              
36             =encoding UTF-8
37              
38             =head1 NAME
39              
40             Business::OnlinePayment::Iridium::Action::GetGatewayEntryPoints - Query PayVectors gateways
41              
42             =head1 VERSION
43              
44             version 1.01
45              
46             =head2 template
47              
48             SOAP template to use to send to PayVector / Iridium
49              
50             =head1 AUTHOR
51              
52             [ 'Gavin Henry <ghenry@surevoip.co.uk>', 'Wallace Reis <reis.wallace@gmail.com>' ]
53              
54             =head1 COPYRIGHT AND LICENSE
55              
56             This software is copyright (c) 2017 by [ 'Gavin Henry', 'Wallace Reis' ].
57              
58             This is free software; you can redistribute it and/or modify it under
59             the same terms as the Perl 5 programming language system itself.
60              
61             =cut