projects
/
catagits/Catalyst-Runtime.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
fix body_parameters is undef when no params
[catagits/Catalyst-Runtime.git]
/
t
/
lib
/
TestApp
/
Model
/
Generating.pm
1
package TestApp::Model::Generating;
2
use Moose;
3
extends 'Catalyst::Model';
4
5
sub BUILD {
6
Class::MOP::Class->create(
7
'TestApp::Model::Generated' => (
8
methods => {
9
foo => sub { 'foo' }
10
}
11
)
12
);
13
}
14
15
sub expand_modules {
16
return ('TestApp::Model::Generated');
17
}
18
19
__PACKAGE__->meta->make_immutable;
20
no Moose;
21
22
1;