Initial commit of Catalyst-Action-REST
[catagits/Catalyst-Action-REST.git] / lib / Catalyst / Controller / REST.pm
CommitLineData
256c894f 1package Catalyst::Controller::REST;
2
3use strict;
4use warnings;
5use base 'Catalyst::Controller';
6
7__PACKAGE__->mk_accessors(qw(serialize));
8
9__PACKAGE__->config(
10 serialize => {
11 'stash_key' => 'rest',
12 }
13);
14
15sub begin :ActionClass('Deserialize::YAML') {}
16
17sub end :ActionClass('Serialize::YAML') {}
18
191;