| 1 | package WebService::Async::Onfido::Document; | ||||||||||||
| 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::Document); | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 7 | |||||||||||||
| 8 | 4 | our $VERSION = '0.002'; # VERSION | |||||||||||
| 9 | |||||||||||||
| 10 | =head1 NAME | ||||||||||||
| 11 | |||||||||||||
| 12 | WebService::Async::Onfido::Document - represents data for Onfido | ||||||||||||
| 13 | |||||||||||||
| 14 | =head1 DESCRIPTION | ||||||||||||
| 15 | |||||||||||||
| 16 | =cut | ||||||||||||
| 17 | |||||||||||||
| 18 | sub as_string { | ||||||||||||
| 19 | 0 | ▶ | my ($self) = @_; | ||||||||||
|
Subroutine
as_string: not called CC=2 SCAR=17.9
Pod
undocumented
| |||||||||||||
| 20 | 0 | ▶ | return sprintf '%s %d byte %s, %s %s (ID %s)', | ||||||||||
|
Condition0%0/2
$self->side // "single"
MC/DC0%0/1
$self->side // "single"
$self->side
Truth table0%0/2
A
A= $self->side
| |||||||||||||
| 21 | $self->file_name, | ||||||||||||
| 22 | $self->file_size, uc($self->file_type), | ||||||||||||
| 23 | $self->side // 'single', | ||||||||||||
| 24 | $self->type, | ||||||||||||
| 25 | $self->id; | ||||||||||||
| 26 | } | ||||||||||||
| 27 | |||||||||||||
| 28 | 0 | ▶ | sub onfido { return shift->{onfido} } | ||||||||||
|
Subroutine
onfido: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||||
| 29 | 0 | ▶ | sub applicant { return shift->{applicant} } | ||||||||||
|
Subroutine
applicant: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||||
| 30 | |||||||||||||
| 31 | 4 | 1; | |||||||||||
| 32 | |||||||||||||
| 33 | __END__ | ||||||||||||
| 34 | |||||||||||||
| 35 | =head1 AUTHOR | ||||||||||||
| 36 | |||||||||||||
| 37 | deriv.com C<< DERIV@cpan.org >> | ||||||||||||
| 38 | |||||||||||||
| 39 | =head1 LICENSE | ||||||||||||
| 40 | |||||||||||||
| 41 | Copyright deriv.com 2019. Licensed under the same terms as Perl itself. | ||||||||||||
| 42 | |||||||||||||