Business/CyberSource/Exception/SOAPFault.pm

filter: Statementstmt 90.9% 20 / 22 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 83.3% 5 / 6 Podpod n/a totaltotal 89.2% 25 / 28 CC 1 SCAR 1.5
CC
1
Cov
91%
_build_message
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« Business/CyberSource/Exception.pm ↑ Summary Business/CyberSource/Exception/Response.pm »
1 package Business::CyberSource::Exception::SOAPFault;
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 ▶use MooseX::RemoteHelper;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 1 extends 'Business::CyberSource::Exception';
11  
12 sub _build_message {
13 0 ▶ my $self = shift;
Subroutine _build_message: not called CC=1 SCAR=6.9
14 0 return $self->faultstring;
15 }
16  
17 has $_ => (
18 remote_name => $_,
19 isa => 'Str',
20 is => 'ro',
21 required => 1,
22 1 ) foreach qw( faultstring faultcode );
23  
24 1 __PACKAGE__->meta->make_immutable;
25 1 1;
26 # ABSTRACT: CyberSource API threw a SOAP Fault
27  
28 __END__
29  
30 =pod
31  
32 =encoding UTF-8
33  
34 =head1 NAME
35  
36 Business::CyberSource::Exception::SOAPFault - CyberSource API threw a SOAP Fault
37  
38 =head1 VERSION
39  
40 version 0.010007
41  
42 =head1 DESCRIPTION
43  
44 This usually means a credentials problem or something is wrong on
45 CyberSource's end
46  
47 =head1 ATTRIBUTES
48  
49 =head2 faultstring
50  
51 description of error
52  
53 =head2 faultcode
54  
55 =head1 BUGS
56  
57 Please report any bugs or feature requests on the bugtracker website
58 https://github.com/xenoterracide/business-cybersource/issues
59  
60 When submitting a bug or request, please include a test-file or a
61 patch to an existing test-file that illustrates the bug or desired
62 feature.
63  
64 =head1 AUTHOR
65  
66 Caleb Cushing <xenoterracide@gmail.com>
67  
68 =head1 COPYRIGHT AND LICENSE
69  
70 This software is Copyright (c) 2016 by Caleb Cushing <xenoterracide@gmail.com>.
71  
72 This is free software, licensed under:
73  
74 The Artistic License 2.0 (GPL Compatible)
75  
76 =cut
« Business/CyberSource/Exception.pm ↑ Summary Business/CyberSource/Exception/Response.pm »