1 package RestTest::Controller::API::REST::Producer;
3 BEGIN { extends 'Catalyst::Controller::DBIC::API::REST' }
5 use namespace::autoclean;
8 ( action => { setup => { PathPart => 'producer', Chained => '/api/rest/rest_base' } },
9 class => 'RestTestDB::Producer',
10 create_requires => ['name'],
11 update_allows => ['name'],