File Coverage

blib/lib/AWS/S3/Owner.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1              
2             package AWS::S3::Owner;
3              
4 1     1   4 use Moose;
  1         1  
  1         4  
5              
6             has 'id' => (
7             is => 'ro',
8             isa => 'Str',
9             required => 1,
10             );
11              
12             has 'display_name' => (
13             is => 'ro',
14             isa => 'Str',
15             required => 1,
16             );
17              
18             __PACKAGE__->meta->make_immutable;
19              
20             __END__
21              
22             =pod
23              
24             =head1 NAME
25              
26             AWS::S3::Owner - An 'owner' object in Amazon S3.
27              
28             =head1 SYNOPSIS
29              
30             my $file = $bucket->file('foo.txt');
31             my $owner = $file->owner;
32            
33             warn $owner->id;
34             warn $owner->display_name;
35              
36             =head1 DESCRIPTION
37              
38             =head1 PUBLIC READ-ONLY PROPERTIES
39              
40             =head2 id
41              
42             The id of the owner.
43              
44             =head2 display_name
45              
46             The name of the owner.
47              
48             =head1 PUBLIC METHODS
49              
50             None.
51              
52             =cut
53