Business/CyberSource/Exception/UnableToDetectCardTypeCode.pm

filter: Statementstmt 89.4% 17 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 80.0% 4 / 5 Podpod n/a totaltotal 87.5% 21 / 24 CC 1 SCAR 1.8
CC
1
Cov
89%
_build_message
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« Business/CyberSource/RequestPart/Service/Tax.pm ↑ Summary Business/CyberSource/Exception/NotACreditCard.pm »
1 package Business::CyberSource::Exception::UnableToDetectCardTypeCode;
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.010008'; # VERSION
7  
8 1 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 1 extends 'Business::CyberSource::Exception';
10  
11 0 ▶sub _build_message {
Subroutine _build_message: not called CC=1 SCAR=6.9
12 0 my $self = shift;
13 0 return 'card type code for "'
14 . $self->type
15 . '" was unable to be detected please define it manually';
16 }
17  
18 1 has type => (
19 isa => 'Str',
20 is => 'ro',
21 required => 1,
22 );
23  
24 1 __PACKAGE__->meta->make_immutable;
25 1 1;
26 # ABSTRACT: Card prefix did not match list of automatic supported types
27  
28 __END__
« Business/CyberSource/RequestPart/Service/Tax.pm ↑ Summary Business/CyberSource/Exception/NotACreditCard.pm »