Business/CyberSource/Exception/ItemsOrTotal.pm

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