| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package WebService::Kramerius::API4::AsyncPDF; |
|
2
|
|
|
|
|
|
|
|
|
3
|
2
|
|
|
2
|
|
272135
|
use strict; |
|
|
2
|
|
|
|
|
4
|
|
|
|
2
|
|
|
|
|
84
|
|
|
4
|
2
|
|
|
2
|
|
12
|
use warnings; |
|
|
2
|
|
|
|
|
4
|
|
|
|
2
|
|
|
|
|
155
|
|
|
5
|
|
|
|
|
|
|
|
|
6
|
2
|
|
|
2
|
|
16
|
use base qw(WebService::Kramerius::API4::Base); |
|
|
2
|
|
|
|
|
3
|
|
|
|
2
|
|
|
|
|
1244
|
|
|
7
|
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
our $VERSION = 0.02; |
|
9
|
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub handle { |
|
11
|
0
|
|
|
0
|
0
|
|
my ($self, $opts_hr) = @_; |
|
12
|
|
|
|
|
|
|
|
|
13
|
0
|
|
|
|
|
|
$self->_validate_opts($opts_hr, ['handle']); |
|
14
|
|
|
|
|
|
|
|
|
15
|
0
|
|
|
|
|
|
return $self->_get_data($self->{'library_url'}.'search/api/v5.0/asyncpdf/handle'. |
|
16
|
|
|
|
|
|
|
$self->_construct_opts($opts_hr)); |
|
17
|
|
|
|
|
|
|
} |
|
18
|
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
sub parent { |
|
20
|
0
|
|
|
0
|
0
|
|
my ($self, $opts_hr) = @_; |
|
21
|
|
|
|
|
|
|
|
|
22
|
0
|
|
|
|
|
|
$self->_validate_opts($opts_hr, ['number', 'pid']); |
|
23
|
|
|
|
|
|
|
|
|
24
|
0
|
|
|
|
|
|
return $self->_get_data($self->{'library_url'}.'search/api/v5.0/asyncpdf/parent'. |
|
25
|
|
|
|
|
|
|
$self->_construct_opts($opts_hr)); |
|
26
|
|
|
|
|
|
|
} |
|
27
|
|
|
|
|
|
|
1; |