Sloth/RequestParser/Form.pm untested

filter: Statementstmt 0.0% 0 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 14 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
parse
2.0
BEGIN
2.0
CRAP 2.0
1 package Sloth::RequestParser::Form;
2 BEGIN {
3 $Sloth::RequestParser::Form::VERSION = '0.05';
4 }
5 # ABSTRACT: A request parser for application/x-www-urlencoded data
6 use Moose;
7  
8 with 'Sloth::RequestParser';
9  
10  
11 sub parse {
12 my ($self, $request) = @_;
13 return %{ $request->body_parameters };
14 }
15  
16 1;
17  
18 __END__