File Coverage

blib/lib/Moxy/Request.pm
Criterion Covered Total %
statement 9 11 81.8
branch n/a
condition n/a
subroutine 3 4 75.0
pod 0 1 0.0
total 12 16 75.0


line stmt bran cond sub pod time code
1             package Moxy::Request;
2 14     14   82 use strict;
  14         25  
  14         482  
3 14     14   78 use warnings;
  14         30  
  14         382  
4 14     14   77 use base qw/Plack::Request/;
  14         38  
  14         12446  
5              
6             sub as_http_request {
7 0     0 0   my $self = shift;
8 0           return HTTP::Request->new(
9             $self->method,
10             $self->uri,
11             $self->headers,
12             $self->content,
13             );
14             }
15              
16             1;