Cherry pick everything bar the use parent change from 25d49c2, fixing RT#46680
[catagits/Catalyst-Action-REST.git] / t / lib / Test / Rest.pm
index bb748e9..c8675c2 100644 (file)
@@ -1,10 +1,3 @@
-#
-# Rest.pm
-# Created by: Adam Jacob, Marchex, <adam@marchex.com>
-# Created on: 10/16/2006 11:11:25 AM PDT
-#
-# $Id: $
-
 package Test::Rest;
 
 use strict;
@@ -15,7 +8,10 @@ use Params::Validate qw(:all);
 
 sub new {
     my $self = shift;
-    my %p    = validate( @_, { content_type => { type => SCALAR }, }, );
+    my %p    = validate( @_, { 
+            content_type => { type => SCALAR }, 
+        }, 
+    );
     my $ref  = {
         'ua'           => LWP::UserAgent->new,
         'content_type' => $p{'content_type'},