X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Action-REST.git;a=blobdiff_plain;f=lib%2FCatalyst%2FAction%2FDeserialize.pm;h=ead726dd645c7e3a6c7bd0656bc86f3886e922af;hp=744a02d251173ffab7b6e0adc54c52cd7ed7d0ae;hb=3bb36dcaabf34fef5c15b1bb74c5eb198a7f5168;hpb=10bcd217c37d68aabbb0db8a5a7e233e679cb945 diff --git a/lib/Catalyst/Action/Deserialize.pm b/lib/Catalyst/Action/Deserialize.pm index 744a02d..ead726d 100644 --- a/lib/Catalyst/Action/Deserialize.pm +++ b/lib/Catalyst/Action/Deserialize.pm @@ -1,13 +1,16 @@ package Catalyst::Action::Deserialize; -use strict; -use warnings; +use Moose; +use namespace::autoclean; -use base 'Catalyst::Action::SerializeBase'; +extends 'Catalyst::Action::SerializeBase'; use Module::Pluggable::Object; use MRO::Compat; -__PACKAGE__->mk_accessors(qw(plugins)); +our $VERSION = '0.82'; +$VERSION = eval $VERSION; + +has plugins => ( is => 'rw' ); sub execute { my $self = shift; @@ -38,6 +41,8 @@ sub execute { return 1; } +__PACKAGE__->meta->make_immutable; + =head1 NAME Catalyst::Action::Deserialize - Deserialize Data in a Request @@ -98,5 +103,3 @@ See L for authors. You may distribute this code under the same terms as Perl itself. =cut - -1;