« Business/CyberSource/Request/StandAloneCredit.pm
↑ Summary
Business/CyberSource/RequestPart/BillTo.pm »
| 1 | package Business::CyberSource::Rule; | ||||||||||||
| 2 | 3 | ▶ | use strict; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 3 | 3 | ▶ | use warnings; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 4 | 3 | ▶ | use namespace::autoclean; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 5 | |||||||||||||
| 6 | 3 | our $VERSION = '0.010008'; # VERSION | |||||||||||
| 7 | |||||||||||||
| 8 | 3 | ▶ | use Moose; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 9 | 3 | ▶ | use Module::Runtime qw( use_module ); | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 10 | |||||||||||||
| 11 | 0 | ▶ | sub debug { | ||||||||||
|
Subroutine
debug: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||||
| 12 | 0 | my ( $self, $message ) = shift; | |||||||||||
| 13 | |||||||||||||
| 14 | 0 | use_module 'Carp'; | |||||||||||
| 15 | 0 | our @CARP_NOT = ( __PACKAGE__, blessed( $self->client ) ); | |||||||||||
| 16 | |||||||||||||
| 17 | 0 | ▶ | $message //= blessed( $self ) . ' matched'; | ||||||||||
|
Condition0%0/2
$message //= builtin::blessed($self) . ' matched'
MC/DC0%0/1
$message //= builtin::blessed($self) . ' matched'
$message
Truth table0%0/2
A
A= $message
| |||||||||||||
| 18 | |||||||||||||
| 19 | 0 | Carp::carp( $message ); | |||||||||||
| 20 | |||||||||||||
| 21 | 0 | return 1; | |||||||||||
| 22 | } | ||||||||||||
| 23 | |||||||||||||
| 24 | 3 | has client => ( | |||||||||||
| 25 | isa => 'Business::CyberSource::Client', | ||||||||||||
| 26 | is => 'ro', | ||||||||||||
| 27 | required => 1, | ||||||||||||
| 28 | weak_ref => 1, | ||||||||||||
| 29 | ); | ||||||||||||
| 30 | |||||||||||||
| 31 | 3 | __PACKAGE__->meta->make_immutable; | |||||||||||
| 32 | 3 | 1; | |||||||||||
| 33 | |||||||||||||
| 34 | # ABSTRACT: Abstract Rule Base | ||||||||||||
| 35 | |||||||||||||
| 36 | __END__ | ||||||||||||