File Coverage

lib/JIRA/REST/Class/Project/Category.pm
Criterion Covered Total %
statement 11 11 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 15 15 100.0


line stmt bran cond sub pod time code
1             package JIRA::REST::Class::Project::Category;
2 4     4   1978 use parent qw( JIRA::REST::Class::Abstract );
  4         10  
  4         18  
3 4     4   261 use strict;
  4         8  
  4         65  
4 4     4   16 use warnings;
  4         7  
  4         79  
5 4     4   52 use 5.010;
  4         13  
6              
7             our $VERSION = '0.11';
8             our $SOURCE = 'CPAN';
9             ## $SOURCE = 'GitHub'; # COMMENT
10             # the line above will be commented out by Dist::Zilla
11              
12             # ABSTRACT: A helper class for L<JIRA::REST::Class|JIRA::REST::Class> that represents the category of a JIRA project as an object.
13              
14             __PACKAGE__->mk_data_ro_accessors( qw( description id name self ) );
15              
16             1;
17              
18             #pod =accessor B<description>
19             #pod
20             #pod The description of the project category.
21             #pod
22             #pod =accessor B<id>
23             #pod
24             #pod The ID of the project category.
25             #pod
26             #pod =accessor B<name>
27             #pod
28             #pod The name of the project category.
29             #pod
30             #pod =accessor B<self>
31             #pod
32             #pod Returns the JIRA REST API URL of the project category.
33             #pod
34             #pod =cut
35              
36             __END__
37              
38             =pod
39              
40             =encoding UTF-8
41              
42             =for :stopwords Packy Anderson Alexandr Alexey Ciornii Melezhik
43              
44             =head1 NAME
45              
46             JIRA::REST::Class::Project::Category - A helper class for L<JIRA::REST::Class|JIRA::REST::Class> that represents the category of a JIRA project as an object.
47              
48             =head1 VERSION
49              
50             version 0.11
51              
52             =head1 READ-ONLY ACCESSORS
53              
54             =head2 B<description>
55              
56             The description of the project category.
57              
58             =head2 B<id>
59              
60             The ID of the project category.
61              
62             =head2 B<name>
63              
64             The name of the project category.
65              
66             =head2 B<self>
67              
68             Returns the JIRA REST API URL of the project category.
69              
70             =head1 RELATED CLASSES
71              
72             =over 2
73              
74             =item * L<JIRA::REST::Class|JIRA::REST::Class>
75              
76             =item * L<JIRA::REST::Class::Abstract|JIRA::REST::Class::Abstract>
77              
78             =back
79              
80             =head1 AUTHOR
81              
82             Packy Anderson <packy@cpan.org>
83              
84             =head1 COPYRIGHT AND LICENSE
85              
86             This software is Copyright (c) 2017 by Packy Anderson.
87              
88             This is free software, licensed under:
89              
90             The Artistic License 2.0 (GPL Compatible)
91              
92             =cut