X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FTraitFor%2FRequest%2FREST.pm;h=726979a216cc9c0b52f9e36c1af959123e1224bf;hb=e527bba30dcea5108b0fb77416fcb4e8ee1e5a38;hp=e21022635cff055505d241eb01cc62e839c1e1a9;hpb=85aa4e18592a1c81b7c2cdd0217b05da74dbea21;p=catagits%2FCatalyst-Action-REST.git diff --git a/lib/Catalyst/TraitFor/Request/REST.pm b/lib/Catalyst/TraitFor/Request/REST.pm index e210226..726979a 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.87'; +$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.