Data/Riak/Result/Object.pm untested

filter: Statementstmt 0.0% 0 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 16 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Data::Riak::Result::Object;
2 {
3 $Data::Riak::Result::Object::VERSION = '2.0';
4 }
5 # ABSTRACT: A result containing a full object
6  
7 use Moose;
8 use namespace::autoclean;
9  
10 extends 'Data::Riak::Result';
11 with 'Data::Riak::Result::WithLocation',
12 'Data::Riak::Result::WithLinks',
13 'Data::Riak::Result::MaybeWithVClock';
14  
15  
16 has etag => (
17 is => 'ro',
18 isa => 'Str',
19 predicate => 'has_etag',
20 );
21  
22  
23 has last_modified => (
24 is => 'ro',
25 isa => 'HTTP::Headers::ActionPack::DateHeader',
26 predicate => 'has_last_modified',
27 );
28  
29 __PACKAGE__->meta->make_immutable;
30  
31 1;
32  
33 __END__