1 # This module is part of debbugs, and
2 # is released under the terms of the GPL version 2, or any later
3 # version (at your option). See the file README and COPYING for more
5 # Copyright 2018 by Don Armstrong <don@donarmstrong.com>.
7 package Debbugs::OOBase;
11 Debbugs::OOBase -- OO Base class for Debbugs
24 use namespace::autoclean;
26 has schema => (is => 'ro', isa => 'Object',
28 predicate => 'has_schema',
33 if ($self->has_schema) {
34 return (schema => $self->schema);
40 __PACKAGE__->meta->make_immutable;
46 # indent-tabs-mode: nil
47 # cperl-indent-level: 4