File Coverage

blib/lib/PONAPI/DAO/Request/Role/HasID.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             # ABSTRACT: DAO request role - `id`
2             package PONAPI::DAO::Request::Role::HasID;
3              
4 8     8   5196 use Moose::Role;
  8         18  
  8         58  
5              
6             has id => (
7             is => 'ro',
8             isa => 'Str',
9             predicate => 'has_id',
10             );
11              
12 8     8   41504 no Moose::Role; 1;
  8         21  
  8         43  
13              
14             __END__
15              
16             =pod
17              
18             =encoding UTF-8
19              
20             =head1 NAME
21              
22             PONAPI::DAO::Request::Role::HasID - DAO request role - `id`
23              
24             =head1 VERSION
25              
26             version 0.002006
27              
28             =head1 AUTHORS
29              
30             =over 4
31              
32             =item *
33              
34             Mickey Nasriachi <mickey@cpan.org>
35              
36             =item *
37              
38             Stevan Little <stevan@cpan.org>
39              
40             =item *
41              
42             Brian Fraser <hugmeir@cpan.org>
43              
44             =back
45              
46             =head1 COPYRIGHT AND LICENSE
47              
48             This software is copyright (c) 2016 by Mickey Nasriachi, Stevan Little, Brian Fraser.
49              
50             This is free software; you can redistribute it and/or modify it under
51             the same terms as the Perl 5 programming language system itself.
52              
53             =cut