2 DBIx::Class::CDBICompat::Relationship;
10 DBIx::Class::CDBICompat::Relationship
14 Emulate the Class::DBI::Relationship object returned from C<meta_info()>.
20 class => 'self_class',
21 accessor => 'accessor',
22 foreign_class => 'class',
27 my($class, $args) = @_;
29 return bless $args, $class;
32 for my $method (keys %method2key) {
33 my $key = $method2key{$method};