Update the Serialize and Deserialize classes to use Moose
[catagits/Catalyst-Action-REST.git] / lib / Catalyst / Action / Serialize.pm
index 2c23151..cc1f838 100644 (file)
@@ -7,6 +7,9 @@ extends 'Catalyst::Action::SerializeBase';
 use Module::Pluggable::Object;
 use MRO::Compat;
 
+our $VERSION = '0.81';
+$VERSION = eval $VERSION;
+
 sub execute {
     my $self = shift;
     my ( $controller, $c ) = @_;
@@ -50,7 +53,7 @@ sub execute {
     return 1;
 }
 
-1;
+__PACKAGE__->meta->make_immutable;
 
 =head1 NAME