line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#--------------------------------------------------------------------# |
2
|
|
|
|
|
|
|
# @class : Chef::Rest::Client::principals # |
3
|
|
|
|
|
|
|
# @author : Bhavin Patel # |
4
|
|
|
|
|
|
|
#--------------------------------------------------------------------# |
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
package Chef::REST::Client::principals; |
7
|
1
|
|
|
1
|
|
957
|
use parent qw { Chef::REST::Client::EndPoints }; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
6
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
$Chef::REST::Client::principals::VERSION = 1.0; |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
sub details |
12
|
|
|
|
|
|
|
{ |
13
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
14
|
0
|
|
|
|
|
|
my $data = $self->___data___; |
15
|
|
|
|
|
|
|
|
16
|
0
|
0
|
|
|
|
|
return $self->raw() unless ref $data eq 'HASH'; |
17
|
|
|
|
|
|
|
|
18
|
0
|
|
|
|
|
|
return $data; |
19
|
|
|
|
|
|
|
} |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
1; |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=pod |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=head1 NAME |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
Chef::REST::Client::principals |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head1 VERSION |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
1.0 |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 SYNOPSIS |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
use Chef::REST::Client::principals; |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
$obj->principals( $principal_name )->details; |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=head1 DESCRIPTION |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
Class that represents collection of environments |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=head1 METHODS |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=head2 list |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
return list of environments, array of L objects. |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=head2 details ( $details ) |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
retun detail about a perticular environment. |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=head1 KNOWN BUGS |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=head1 SUPPORT |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
open a github ticket or email comments to Bhavin Patel |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
This Software is free to use , licensed under : The Artisic License 2.0 (GPL Compatible) |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=cut |