Test use_json_boolean true
[catagits/Catalyst-Controller-DBIC-API.git] / t / lib / RestTest / Controller / API / REST / Producer.pm
CommitLineData
d2739840 1package RestTest::Controller::API::REST::Producer;
2use Moose;
3BEGIN { extends 'Catalyst::Controller::DBIC::API::REST' }
4
5use namespace::autoclean;
6
7__PACKAGE__->config
8 ( action => { setup => { PathPart => 'producer', Chained => '/api/rest/rest_base' } },
9 class => 'RestTestDB::Producer',
10 create_requires => ['name'],
11 update_allows => ['name'],
12 select => ['name'],
13 return_object => 1,
14 );
15
161;