line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# ABSTRACT: Represents user reference for ACL |
2
|
|
|
|
|
|
|
$Net::Amazon::S3::ACL::Grantee::User::VERSION = '0.991'; |
3
|
|
|
|
|
|
|
use Moose; |
4
|
100
|
|
|
100
|
|
622
|
|
|
100
|
|
|
|
|
218
|
|
|
100
|
|
|
|
|
579
|
|
5
|
|
|
|
|
|
|
extends 'Net::Amazon::S3::ACL::Grantee'; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
has id => ( |
8
|
|
|
|
|
|
|
is => 'ro', |
9
|
|
|
|
|
|
|
isa => 'Str', |
10
|
|
|
|
|
|
|
required => 1, |
11
|
|
|
|
|
|
|
); |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
around BUILDARGS => sub { |
14
|
|
|
|
|
|
|
my ($orig, $class) = (shift, shift); |
15
|
|
|
|
|
|
|
unshift @_, 'id' if @_ == 1 && ! ref $_[0]; |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
return $class->$orig (@_); |
18
|
|
|
|
|
|
|
}; |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
my ($self) = @_; |
21
|
|
|
|
|
|
|
|
22
|
91
|
|
|
91
|
0
|
163
|
return "id=\"${\ $self->id }\""; |
23
|
|
|
|
|
|
|
} |
24
|
91
|
|
|
|
|
138
|
|
|
91
|
|
|
|
|
2180
|
|
25
|
|
|
|
|
|
|
1; |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=pod |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=encoding UTF-8 |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=head1 NAME |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
Net::Amazon::S3::ACL::Grantee::User - Represents user reference for ACL |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 VERSION |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
version 0.991 |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head1 SYNOPSIS |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
use Net::Amazon::S3::ACL::Grantee::User; |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
my $user = Net::Amazon::S3::ACL::Grantee::User->new (123); |
45
|
|
|
|
|
|
|
my $user = Net::Amazon::S3::ACL::Grantee::User->new (id => 123); |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=head1 AUTHOR |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
Branislav Zahradník <barney@cpan.org> |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
This module is part of L<Net::Amazon::S3>. |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=head1 AUTHOR |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
Branislav Zahradník <barney@cpan.org> |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
This software is copyright (c) 2022 by Amazon Digital Services, Leon Brocard, Brad Fitzpatrick, Pedro Figueiredo, Rusty Conover, Branislav Zahradník. |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
64
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=cut |