File Coverage

blib/lib/App/Toodledo/LocationRole.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package App::Toodledo::LocationRole;
2              
3 2     2   1266 use Moose::Role;
  2         4  
  2         14  
4              
5             our $VERSION = '1.00';
6              
7             has id => ( is => 'rw', isa => 'Int' );
8             has name => ( is => 'rw', isa => 'Str' );
9             has description => ( is => 'rw', isa => 'Str' );
10             has lat => ( is => 'rw', isa => 'Num' );
11             has lon => ( is => 'rw', isa => 'Num' );
12              
13 2     2   8804 no Moose;
  2         5  
  2         10  
14              
15             1;
16              
17             __END__
18              
19             =head1 NAME
20              
21             App::Toodledo::LocationRole - internal attributes of a role.
22              
23             =head1 SYNOPSIS
24              
25             For internal L<App::Toodledo> use only.
26              
27             =head1 DESCRIPTION
28              
29             For internal L<App::Toodledo> use only.
30              
31             =head1 ATTRIBUTES
32              
33             The attributes of a location are defined here. They should match
34             what Toodledo publishes in their API. They are:
35              
36             =head2 id
37              
38             =head2 name
39              
40             =head2 description
41              
42             =head2 lat
43              
44             =head2 lon
45              
46             =head1 AUTHOR
47              
48             Peter Scott C<cpan at psdt.com>
49              
50             =cut