File Coverage

blib/lib/Business/CyberSource/Exception/ItemsOrTotal.pm
Criterion Covered Total %
statement 13 13 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod n/a
total 18 18 100.0


line stmt bran cond sub pod time code
1             package Business::CyberSource::Exception::ItemsOrTotal;
2 1     1   636 use strict;
  1         2  
  1         53  
3 1     1   5 use warnings;
  1         1  
  1         30  
4 1     1   4 use namespace::autoclean;
  1         1  
  1         10  
5              
6             our $VERSION = '0.010006'; # VERSION
7              
8 1     1   84 use Moose;
  1         1  
  1         7  
9             extends 'Business::CyberSource::Exception';
10              
11             sub _build_message {
12 1     1   410 return 'you must define either items or total';
13             }
14              
15             __PACKAGE__->meta->make_immutable;
16             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.010006
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) 2015 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