DBIx-Custom / t / common / MyDBI1.pm /
Yuki Kimoto test cleranup
5e1d777 13 years ago
1 contributor
19 lines | 0.274kb
package MyDBI1;

use strict;
use warnings;

use base 'DBIx::Custom';

sub connect {
    my $self = shift->SUPER::connect(@_);
    
    $self->include_model(
        MyModel1 => [
            'book',
            {class => 'Company', name => 'company'}
        ]
    );
}

1;