Storage/Object.pm

filter: Statementstmt 100% 29 / 29 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 34 / 34 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Storage/Bucket.pm ↑ Summary Storage/Types.pm »
1 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 package Net::Google::Storage::Object;
4 2 $Net::Google::Storage::Object::VERSION = '0.2.0';
5 # ABSTRACT: Interface for a Google Storage Object
6 # https://developers.google.com/storage/docs/json_api/v1/objects#resource
7  
8 2 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 2 ▶use Net::Google::Storage::Types;
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12  
13 2 has id => (
14 is => 'ro',
15 isa => 'Str',
16 );
17  
18  
19 2 has selfLink => (
20 is => 'ro',
21 isa => 'Str'
22 );
23  
24  
25 2 has name => (
26 is => 'ro',
27 isa => 'Str',
28 );
29  
30  
31 2 has bucket => (
32 is => 'ro',
33 isa => 'Str',
34 );
35  
36  
37 2 has timeCreated => (
38 is => 'ro',
39 isa => 'Str',
40 );
41  
42  
43 2 has md5Hash => (
44 is => 'ro',
45 isa => 'Str',
46 );
47  
48  
49 2 has contentEncoding => (
50 is => 'ro',
51 isa => 'Str',
52 );
53  
54  
55 2 has contentDisposition => (
56 is => 'ro',
57 isa => 'Str',
58 );
59  
60  
61 2 has cacheControl => (
62 is => 'ro',
63 isa => 'Str',
64 );
65  
66  
67 2 has metadata => (
68 is => 'ro',
69 isa => 'HashRef[Str]',
70 );
71  
72  
73 2 has owner => (
74 is => 'ro',
75 isa => 'HashRef[Str]',
76 );
77  
78 2 ▶no Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
79 2 __PACKAGE__->meta->make_immutable;
80  
81 2 1;
82  
83 __END__
« Storage/Bucket.pm ↑ Summary Storage/Types.pm »