You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
428 B
25 lines
428 B
|
10 years ago
|
package Lemonldap::NG::Common::Module;
|
||
|
10 years ago
|
|
||
|
|
use strict;
|
||
|
|
use Mouse;
|
||
|
|
|
||
|
|
our $VERSION = '2.0.0';
|
||
|
|
|
||
|
10 years ago
|
# Object that provides lmLog and error methods (typically PSGI object)
|
||
|
10 years ago
|
has p => ( is => 'rw', weak_ref => 1 );
|
||
|
10 years ago
|
|
||
|
|
# Lemonldap::NG configuration hash ref
|
||
|
10 years ago
|
has conf => ( is => 'rw', weak_ref => 1 );
|
||
|
|
|
||
|
|
sub lmLog {
|
||
|
|
my $self = shift;
|
||
|
|
return $self->p->lmLog(@_);
|
||
|
|
}
|
||
|
|
|
||
|
|
sub error {
|
||
|
|
my $self = shift;
|
||
|
|
return $self->p->error(@_);
|
||
|
|
}
|
||
|
|
|
||
|
|
1;
|