install Catalyst::Request::REST::ForBrowsers, they get the version in this
distro. (Dave Rolsky)
+ Change Catalyst::Action::Serialize, Catalyst::Action::Deserialize and
+ Catalyst::Action::SerializeBase to be more Moose like.
+
Fix doc nits (RT#53780)
Thu 14 Jan 20:56:00 GMT 2010 - Release 0.81
our $VERSION = '0.81';
$VERSION = eval $VERSION;
-__PACKAGE__->mk_accessors(qw(plugins));
+has plugins => ( is => 'rw' );
sub execute {
my $self = shift;
return 1;
}
+__PACKAGE__->meta->make_immutable;
+
=head1 NAME
Catalyst::Action::Deserialize - Deserialize Data in a Request
You may distribute this code under the same terms as Perl itself.
=cut
-
-1;
return 1;
}
-1;
+__PACKAGE__->meta->make_immutable;
=head1 NAME
our $VERSION = '0.81';
$VERSION = eval $VERSION;
-sub new {
- my $class = shift;
- my $config = shift;
- Catalyst::Request::REST->_insert_self_into( $config->{class} );
- return $class->SUPER::new($config, @_);
-}
+after BUILDARGS => sub {
+ my $class = shift;
+ my $config = shift;
+ Catalyst::Request::REST->_insert_self_into( $config->{class} );
+};
-__PACKAGE__->mk_accessors(qw(_serialize_plugins _loaded_plugins));
+has [qw(_serialize_plugins _loaded_plugins)] => ( is => 'rw' );
sub _load_content_plugins {
my $self = shift;
return undef;
}
-1;
+__PACKAGE__->meta->make_immutable;
=head1 NAME