Bug 29121: Add POD to plugins

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Kyle Hall 2021-09-27 11:55:06 +00:00 committed by Jonathan Druart
parent 375a9197b1
commit edfa6b9ffe
2 changed files with 28 additions and 0 deletions

View file

@ -16,6 +16,14 @@ our $metadata = {
version => $VERSION,
};
=head1 METHODS
=head2 new
instantiate the plugin
=cut
sub new {
my ( $class, $args ) = @_;
$args->{'metadata'} = $metadata;
@ -23,6 +31,12 @@ sub new {
return $self;
}
=head2 install
install method that dies
=cut
sub install {
die "Why Liz? WHY?";
}

View file

@ -16,6 +16,14 @@ our $metadata = {
version => $VERSION,
};
=head1 METHODS
=head2 new
Instantiate the plugin
=cut
sub new {
my ( $class, $args ) = @_;
$args->{'metadata'} = $metadata;
@ -23,6 +31,12 @@ sub new {
return $self;
}
=head2 upgrade
upgrade method that dies
=cut
sub upgrade {
die "Why Liz? WHY?";
}