File Coverage

lib/JIRA/REST/Class/Issue/LinkType.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::Issue::LinkType;
2 4     4   1697 use parent qw( JIRA::REST::Class::Abstract );
  4         8  
  4         20  
3 4     4   251 use strict;
  4         8  
  4         61  
4 4     4   15 use warnings;
  4         8  
  4         92  
5 4     4   57 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 a JIRA link type as an object.
13              
14             __PACKAGE__->mk_data_ro_accessors( qw( id name inward outward self ) );
15              
16             1;
17              
18             #pod =accessor B<id>
19             #pod
20             #pod The id of the link type.
21             #pod
22             #pod =accessor B<name>
23             #pod
24             #pod The name of the link type.
25             #pod
26             #pod =accessor B<inward>
27             #pod
28             #pod The text for the inward name of the link type.
29             #pod
30             #pod =accessor B<outward>
31             #pod
32             #pod The text for the outward name of the link type.
33             #pod
34             #pod =accessor B<self>
35             #pod
36             #pod The full URL for the JIRA REST API call for the link type.
37             #pod
38             #pod =cut
39              
40             __END__
41              
42             =pod
43              
44             =encoding UTF-8
45              
46             =for :stopwords Packy Anderson Alexandr Alexey Ciornii Melezhik
47              
48             =head1 NAME
49              
50             JIRA::REST::Class::Issue::LinkType - A helper class for L<JIRA::REST::Class|JIRA::REST::Class> that represents a JIRA link type as an object.
51              
52             =head1 VERSION
53              
54             version 0.11
55              
56             =head1 READ-ONLY ACCESSORS
57              
58             =head2 B<id>
59              
60             The id of the link type.
61              
62             =head2 B<name>
63              
64             The name of the link type.
65              
66             =head2 B<inward>
67              
68             The text for the inward name of the link type.
69              
70             =head2 B<outward>
71              
72             The text for the outward name of the link type.
73              
74             =head2 B<self>
75              
76             The full URL for the JIRA REST API call for the link type.
77              
78             =head1 RELATED CLASSES
79              
80             =over 2
81              
82             =item * L<JIRA::REST::Class|JIRA::REST::Class>
83              
84             =item * L<JIRA::REST::Class::Abstract|JIRA::REST::Class::Abstract>
85              
86             =back
87              
88             =head1 AUTHOR
89              
90             Packy Anderson <packy@cpan.org>
91              
92             =head1 COPYRIGHT AND LICENSE
93              
94             This software is Copyright (c) 2017 by Packy Anderson.
95              
96             This is free software, licensed under:
97              
98             The Artistic License 2.0 (GPL Compatible)
99              
100             =cut