| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package WebService::Kramerius::API4::User; |
|
2
|
|
|
|
|
|
|
|
|
3
|
2
|
|
|
2
|
|
322377
|
use strict; |
|
|
2
|
|
|
|
|
6
|
|
|
|
2
|
|
|
|
|
82
|
|
|
4
|
2
|
|
|
2
|
|
10
|
use warnings; |
|
|
2
|
|
|
|
|
4
|
|
|
|
2
|
|
|
|
|
139
|
|
|
5
|
|
|
|
|
|
|
|
|
6
|
2
|
|
|
2
|
|
17
|
use base qw(WebService::Kramerius::API4::Base); |
|
|
2
|
|
|
|
|
3
|
|
|
|
2
|
|
|
|
|
1258
|
|
|
7
|
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
our $VERSION = 0.02; |
|
9
|
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub profile { |
|
11
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
|
12
|
|
|
|
|
|
|
|
|
13
|
0
|
|
|
|
|
|
return $self->_get_data($self->{'library_url'}.'search/api/v5.0/user/profile'); |
|
14
|
|
|
|
|
|
|
} |
|
15
|
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
sub user { |
|
17
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
|
18
|
|
|
|
|
|
|
|
|
19
|
0
|
|
|
|
|
|
return $self->_get_data($self->{'library_url'}.'search/api/v5.0/user'); |
|
20
|
|
|
|
|
|
|
} |
|
21
|
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
1; |
|
23
|
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
__END__ |