lib/WebService/Async/Onfido/Report.pm

filter: Statementstmt 100% 13 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod 0.0% 0 / 1 totaltotal 94.4% 17 / 18 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« lib/WebService/Async/Onfido/Base/Report.pm ↑ Summary lib/WebService/Async/Onfido/Address.pm »
1 package WebService::Async::Onfido::Report;
2  
3 4 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 4 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 4 ▶use parent qw(WebService::Async::Onfido::Base::Report);
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 4 our $VERSION = '0.007'; # VERSION
9  
10 =head1 NAME
11  
12 WebService::Async::Onfido::Report - represents data for Onfido
13  
14 =head1 DESCRIPTION
15  
16 =cut
17  
18 2 ▶sub as_string {
Subroutine as_string: called CC=1 SCAR=0.0
Pod undocumented
19 2 my ($self) = @_;
20  
21 2 return sprintf 'Report %s %s, result was %s (created %s as ID %s)', $self->name, $self->status, $self->result, $self->created_at, $self->id;
22 }
23  
24 4 1;
25  
26 __END__
« lib/WebService/Async/Onfido/Base/Report.pm ↑ Summary lib/WebService/Async/Onfido/Address.pm »