OpenCellID/Response/cell/get.pm

filter: Statementstmt 100% 19 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 7 / 7 Podpod 100% 4 / 4 totaltotal 100% 30 / 30 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« OpenCellID/Response.pm ↑ Summary OpenCellID/Response/measure.pm »
1 package Geo::WebService::OpenCellID::Response::cell::get;
2 4 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 4 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 4 ▶use base qw{Geo::WebService::OpenCellID::Response::cell};
Subroutine BEGIN: called CC=1 SCAR=0.0
5 4 our $VERSION = '0.03';
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 ▶ my $self=shift;
Subroutine lat: called CC=1 SCAR=0.0
Pod documented
27 2 return $self->{"data"}->{"cell"}->[0]->{"lat"};
28 }
29  
30 =head2 lon
31  
32 =cut
33  
34 sub lon {
35 2 ▶ my $self=shift;
Subroutine lon: called CC=1 SCAR=0.0
Pod documented
36 2 return $self->{"data"}->{"cell"}->[0]->{"lon"};
37 }
38  
39 =head2 range
40  
41 =cut
42  
43 sub range {
44 1 ▶ my $self=shift;
Subroutine range: called CC=1 SCAR=0.0
Pod documented
45 1 return $self->{"data"}->{"cell"}->[0]->{"range"};
46 }
47  
48 =head2 nbSamples
49  
50 =cut
51  
52 sub nbSamples {
53 2 ▶ my $self=shift;
Subroutine nbSamples: called CC=1 SCAR=0.0
Pod documented
54 2 return $self->{"data"}->{"cell"}->[0]->{"nbSamples"};
55 }
56  
57 =head1 BUGS
58  
59 Submit to RT and email the Author
60  
61 =head1 SUPPORT
62  
63 Try the Author or Try 8motions.com
64  
65 =head1 AUTHOR
66  
67 Michael R. Davis
68 CPAN ID: MRDVT
69 STOP, LLC
70 domain=>michaelrdavis,tld=>com,account=>perl
71 http://www.stopllc.com/
72  
73 =head1 COPYRIGHT
74  
75 This program is free software; you can redistribute
76 it and/or modify it under the same terms as Perl itself.
77  
78 The full text of the license can be found in the
79 LICENSE file included with this module.
80  
81 =head1 SEE ALSO
82  
83 =cut
84  
85 4 1;
« OpenCellID/Response.pm ↑ Summary OpenCellID/Response/measure.pm »