File Coverage

blib/lib/Plack/VCR/Interaction.pm
Criterion Covered Total %
statement 11 11 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod 1 1 100.0
total 16 16 100.0


line stmt bran cond sub pod time code
1             ## no critic (RequireUseStrict)
2             package Plack::VCR::Interaction;
3             $Plack::VCR::Interaction::VERSION = '0.04';
4             ## use critic (RequireUseStrict)
5 11     11   41 use strict;
  11         12  
  11         342  
6 11     11   64 use warnings;
  11         12  
  11         289  
7              
8 11     11   40 use Plack::Util::Accessor qw/request/;
  11         12  
  11         143  
9              
10             sub new {
11 26     26 1 53 my ( $class, %opts ) = @_;
12              
13 26         107 return bless \%opts, $class;
14             }
15              
16             1;
17              
18             # ABSTRACT: Represents a single HTTP interaction
19              
20             __END__