X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Action-REST.git;a=blobdiff_plain;f=lib%2FCatalyst%2FTraitFor%2FRequest%2FREST.pm;h=1b9c87252ea7c72f2e11b6044c0813630d7d0214;hp=e21022635cff055505d241eb01cc62e839c1e1a9;hb=3bb36dcaabf34fef5c15b1bb74c5eb198a7f5168;hpb=85aa4e18592a1c81b7c2cdd0217b05da74dbea21 diff --git a/lib/Catalyst/TraitFor/Request/REST.pm b/lib/Catalyst/TraitFor/Request/REST.pm index e210226..1b9c872 100644 --- a/lib/Catalyst/TraitFor/Request/REST.pm +++ b/lib/Catalyst/TraitFor/Request/REST.pm @@ -3,6 +3,9 @@ use Moose::Role; use HTTP::Headers::Util qw(split_header_words); use namespace::autoclean; +our $VERSION = '0.82'; +$VERSION = eval $VERSION; + has [qw/ data accept_only /] => ( is => 'rw' ); has accepted_content_types => ( @@ -93,7 +96,7 @@ Catalyst::TraitFor::Request::REST - A role to apply to Catalyst::Request giving =head1 DESCRIPTION This is a L applied to L that adds a few -methods to the request object to faciliate writing REST-y code. +methods to the request object to facilitate writing REST-y code. Currently, these methods are all related to the content types accepted by the client.