File Coverage

blib/lib/App/Toodledo/ContextRole.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::ContextRole;
2              
3 2     2   822 use Moose::Role;
  2         4  
  2         15  
4              
5             our $VERSION = '1.00';
6              
7             # Minimal attributes when fetching:
8             has id => ( is => 'rw', isa => 'Int' );
9             has name => ( is => 'rw', isa => 'Str' );
10              
11             # This may come into being soon:
12             has ord => ( is => 'rw', isa => 'Int' );
13              
14 2     2   8799 no Moose;
  2         4  
  2         10  
15              
16             1;
17              
18             __END__
19              
20             =head1 NAME
21              
22             App::Toodledo::ContextRole - internal attributes of a context.
23              
24             =head1 SYNOPSIS
25              
26             For internal L<App::Toodledo> use only.
27              
28             =head1 DESCRIPTION
29              
30             For internal L<App::Toodledo> use only.
31              
32             =head1 ATTRIBUTES
33              
34             The attributes of a context are defined here. They should match
35             what Toodledo publishes in their API. They are:
36              
37             =head2 id
38              
39             =head2 name
40              
41             =head2 ord
42              
43              
44              
45             =head1 AUTHOR
46              
47             Peter Scott C<cpan at psdt.com>
48              
49             =cut