File Coverage

blib/lib/App/Toodledo/NotebookRole.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::NotebookRole;
2              
3 2     2   986 use Moose::Role;
  2         5  
  2         14  
4              
5             our $VERSION = '1.00';
6              
7             has id => ( is => 'rw', isa => 'Int' );
8             has title => ( is => 'rw', isa => 'Str' );
9             has folder => ( is => 'rw', isa => 'Int' );
10             has modified => ( is => 'rw', isa => 'Int' );
11             has added => ( is => 'rw', isa => 'Int' );
12             has private => ( is => 'rw', isa => 'Bool' );
13             has text => ( is => 'rw', isa => 'Str' );
14              
15 2     2   8942 no Moose;
  2         4  
  2         11  
16              
17             1;
18              
19             __END__
20              
21             =head1 NAME
22              
23             App::Toodledo::NotebookRole - internal attributes of a notebook.
24              
25             =head1 SYNOPSIS
26              
27             For internal L<App::Toodledo> use only.
28              
29             =head1 DESCRIPTION
30              
31             For internal L<App::Toodledo> use only.
32              
33             =head1 ATTRIBUTES
34              
35             The attributes of a notebook are defined here. They should match
36             what Toodledo publishes in their API. They are:
37              
38              
39             =head2 id
40              
41             =head2 title
42              
43             =head2 folder
44              
45             =head2 modified
46              
47             =head2 added
48              
49             =head2 private
50              
51             =head2 text
52              
53             =head1 AUTHOR
54              
55             Peter Scott C<cpan at psdt.com>
56              
57             =cut