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=3c90466ffd3a9499cd321fb2c503e5a1886fd8ac;hb=3bb36dcaabf34fef5c15b1bb74c5eb198a7f5168;hpb=930013e6f19b25a090c3f8839495ad8d9b15ff6d diff --git a/lib/Catalyst/Action/Deserialize.pm b/lib/Catalyst/Action/Deserialize.pm index 3c90466..ead726d 100644 --- a/lib/Catalyst/Action/Deserialize.pm +++ b/lib/Catalyst/Action/Deserialize.pm @@ -7,7 +7,10 @@ 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;