File Coverage

blib/lib/Geo/WebService/OpenCellID/Response/cell/get.pm
Criterion Covered Total %
statement 17 17 100.0
branch n/a
condition n/a
subroutine 7 7 100.0
pod 4 4 100.0
total 28 28 100.0


line stmt bran cond sub pod time code
1             package Geo::WebService::OpenCellID::Response::cell::get;
2 4     4   22 use warnings;
  4         6  
  4         197  
3 4     4   16 use strict;
  4         7  
  4         124  
4 4     4   17 use base qw{Geo::WebService::OpenCellID::Response::cell};
  4         7  
  4         2015  
5             our $VERSION = '0.06';
6              
7             =head1 NAME
8              
9             Geo::WebService::OpenCellID::Response::cell::get - Perl API for the opencellid.org database
10              
11             =head1 SYNOPSIS
12              
13             =head1 DESCRIPTION
14              
15             Perl Interface to the database at http://www.opencellid.org/
16              
17             =head1 USAGE
18              
19             =head1 METHODS
20              
21             =head2 lat
22              
23             =cut
24              
25             sub lat {
26 2     2 1 9 my $self=shift;
27 2         17 return $self->{"data"}->{"cell"}->[0]->{"lat"};
28             }
29              
30             =head2 lon
31              
32             =cut
33              
34             sub lon {
35 2     2 1 8 my $self=shift;
36 2         15 return $self->{"data"}->{"cell"}->[0]->{"lon"};
37             }
38              
39             =head2 range
40              
41             =cut
42              
43             sub range {
44 1     1 1 4 my $self=shift;
45 1         7 return $self->{"data"}->{"cell"}->[0]->{"range"};
46             }
47              
48             =head2 nbSamples
49              
50             =cut
51              
52             sub nbSamples {
53 2     2 1 6 my $self=shift;
54 2         12 return $self->{"data"}->{"cell"}->[0]->{"nbSamples"};
55             }
56              
57             =head1 COPYRIGHT
58              
59             Copyright (c) 2025 Michael R. Davis
60              
61             This program is free software; you can redistribute
62             it and/or modify it under the same terms as Perl itself.
63              
64             The full text of the license can be found in the
65             LICENSE file included with this module.
66              
67             =cut
68              
69             1;