aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ComponentUI/TestModel.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ComponentUI/TestModel.pm')
-rw-r--r--lib/ComponentUI/TestModel.pm19
1 files changed, 11 insertions, 8 deletions
diff --git a/lib/ComponentUI/TestModel.pm b/lib/ComponentUI/TestModel.pm
index e13c31c..d33af2f 100644
--- a/lib/ComponentUI/TestModel.pm
+++ b/lib/ComponentUI/TestModel.pm
@@ -7,14 +7,17 @@ use Reaction::InterfaceModel::Reflector::DBIC;
my $reflector = Reaction::InterfaceModel::Reflector::DBIC->new;
-$reflector->reflect_schema
- (
- model_class => __PACKAGE__,
- schema_class => 'RTest::TestDB',
- sources => [qw/Foo Baz/,
- [ Bar => {attributes => [[-exclude => 'avatar']] } ], ## for now....
- ],
- );
+$reflector->reflect_schema(
+ model_class => __PACKAGE__,
+ schema_class => 'RTest::TestDB',
+ sources => [
+ qw/Foo Baz/,
+ [ Bar => {attributes => [[-exclude => 'avatar']] } ], ## for now....
+ ],
+);
+__PACKAGE__->meta->make_immutable;1;
1;
+
+__END__;