initial commit with working tests, docs, and conversion to dzil+podweaver
[catagits/Catalyst-Controller-DBIC-API.git] / t / lib / RestTest / Controller / API / RPC / Artist.pm
CommitLineData
d2739840 1package RestTest::Controller::API::RPC::Artist;
2use Moose;
3BEGIN { extends 'Catalyst::Controller::DBIC::API::RPC' }
4
5use namespace::autoclean;
6
7__PACKAGE__->config
8 ( action => { setup => { PathPart => 'artist', Chained => '/api/rpc/rpc_base' } },
9 class => 'RestTestDB::Artist',
10 create_requires => ['name'],
11 create_allows => ['name'],
12 update_allows => ['name'],
13 prefetch_allows => [[qw/ cds /],{ 'cds' => 'tracks'}],
14 );
15
161;