line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package WebService::AbuseIPDB::ReportResponse; |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
#=============================================================================== |
4
|
|
|
|
|
|
|
# FILE: ReportResponse.pm |
5
|
|
|
|
|
|
|
# DESCRIPTION: Reponse for report endpoint |
6
|
|
|
|
|
|
|
# AUTHOR: Pete Houston (pete), cpan@openstrike.co.uk |
7
|
|
|
|
|
|
|
# ORGANIZATION: Openstrike |
8
|
|
|
|
|
|
|
# CREATED: 17/08/19 12:26:19 |
9
|
|
|
|
|
|
|
#=============================================================================== |
10
|
|
|
|
|
|
|
|
11
|
2
|
|
|
2
|
|
920
|
use strict; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
58
|
|
12
|
2
|
|
|
2
|
|
9
|
use warnings; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
52
|
|
13
|
|
|
|
|
|
|
|
14
|
2
|
|
|
2
|
|
9
|
use parent 'WebService::AbuseIPDB::Response'; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
10
|
|
15
|
|
|
|
|
|
|
our $VERSION = $WebService::AbuseIPDB::Response::VERSION; |
16
|
|
|
|
|
|
|
|
17
|
1
|
|
|
1
|
1
|
574
|
sub score { return shift->{data}->{abuseConfidenceScore} } |
18
|
1
|
|
|
1
|
1
|
550
|
sub ip { return shift->{data}->{ipAddress} } |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
1; |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
__END__ |