X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FTraitFor%2FRequest%2FREST.pm;h=aead7fc51282c16db84216d0c430127a3f52c68f;hb=d6ece98c7e6b22a490061278d14ba85a068f6187;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..aead7fc 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.81'; +$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.