File Coverage

lib/JIRA/REST/Class/Project/Component.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::Component;
2 4     4   1303 use parent qw( JIRA::REST::Class::Abstract );
  4         6  
  4         16  
3 4     4   201 use strict;
  4         5  
  4         67  
4 4     4   16 use warnings;
  4         7  
  4         90  
5 4     4   55 use 5.010;
  4         9  
6              
7             our $VERSION = '0.12';
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 a component of a JIRA project as an object.
13              
14             __PACKAGE__->mk_data_ro_accessors( qw( id isAssigneeTypeValid name self ) );
15              
16             1;
17              
18             #pod =accessor B<id>
19             #pod
20             #pod The ID of the project category.
21             #pod
22             #pod =accessor B<isAssigneeTypeValid>
23             #pod
24             #pod A boolean indicating whether the assignee type is valid.
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 =for stopwords isAssigneeTypeValid
35             #pod
36             #pod =cut
37              
38             __END__
39              
40             =pod
41              
42             =encoding UTF-8
43              
44             =for :stopwords Packy Anderson Alexandr Alexey Ciornii Heumann Manni Melezhik
45             isAssigneeTypeValid
46              
47             =head1 NAME
48              
49             JIRA::REST::Class::Project::Component - A helper class for L<JIRA::REST::Class|JIRA::REST::Class> that represents a component of a JIRA project as an object.
50              
51             =head1 VERSION
52              
53             version 0.12
54              
55             =head1 READ-ONLY ACCESSORS
56              
57             =head2 B<id>
58              
59             The ID of the project category.
60              
61             =head2 B<isAssigneeTypeValid>
62              
63             A boolean indicating whether the assignee type is valid.
64              
65             =head2 B<name>
66              
67             The name of the project category.
68              
69             =head2 B<self>
70              
71             Returns the JIRA REST API URL of the project category.
72              
73             =head1 RELATED CLASSES
74              
75             =over 2
76              
77             =item * L<JIRA::REST::Class|JIRA::REST::Class>
78              
79             =item * L<JIRA::REST::Class::Abstract|JIRA::REST::Class::Abstract>
80              
81             =back
82              
83             =head1 AUTHOR
84              
85             Packy Anderson <packy@cpan.org>
86              
87             =head1 COPYRIGHT AND LICENSE
88              
89             This software is Copyright (c) 2017 by Packy Anderson.
90              
91             This is free software, licensed under:
92              
93             The Artistic License 2.0 (GPL Compatible)
94              
95             =cut