Business/CyberSource/Exception/NotACreditCard.pm

filter: Statementstmt 94.1% 16 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 80.0% 4 / 5 Podpod n/a totaltotal 90.9% 20 / 22 CC 1 SCAR 1.8
CC
1
Cov
94%
_build_message
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« Business/CyberSource/Exception/UnableToDetectCardTypeCode.pm ↑ Summary Business/CyberSource/Exception.pm »
1 package Business::CyberSource::Exception::NotACreditCard;
2 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 our $VERSION = '0.010007'; # VERSION
7  
8 1 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 1 extends 'Business::CyberSource::Exception';
10  
11 sub _build_message {
12 0 ▶ return 'not a credit card';
Subroutine _build_message: not called CC=1 SCAR=6.9
13 }
14  
15 1 __PACKAGE__->meta->make_immutable;
16 1 1;
17 # ABSTRACT: Card number is not a valid credit card
18  
19 __END__
20  
21 =pod
22  
23 =encoding UTF-8
24  
25 =head1 NAME
26  
27 Business::CyberSource::Exception::NotACreditCard - Card number is not a valid credit card
28  
29 =head1 VERSION
30  
31 version 0.010007
32  
33 =head1 BUGS
34  
35 Please report any bugs or feature requests on the bugtracker website
36 https://github.com/xenoterracide/business-cybersource/issues
37  
38 When submitting a bug or request, please include a test-file or a
39 patch to an existing test-file that illustrates the bug or desired
40 feature.
41  
42 =head1 AUTHOR
43  
44 Caleb Cushing <xenoterracide@gmail.com>
45  
46 =head1 COPYRIGHT AND LICENSE
47  
48 This software is Copyright (c) 2016 by Caleb Cushing <xenoterracide@gmail.com>.
49  
50 This is free software, licensed under:
51  
52 The Artistic License 2.0 (GPL Compatible)
53  
54 =cut
« Business/CyberSource/Exception/UnableToDetectCardTypeCode.pm ↑ Summary Business/CyberSource/Exception.pm »