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