Bug 20004: Fix POD

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Kyle M Hall 2018-02-16 16:23:14 +00:00 committed by Jonathan Druart
parent dfbadc70d4
commit d1ccd5ed35
1 changed files with 24 additions and 0 deletions

View File

@ -23,6 +23,14 @@ use Koha::Cities;
use Try::Tiny;
=head1 API
=head2 Class Methods
=head3 list
=cut
sub list {
my $c = shift->openapi->valid_input or return;
@ -44,6 +52,10 @@ sub list {
}
=head3 get
=cut
sub get {
my $c = shift->openapi->valid_input or return;
@ -56,6 +68,10 @@ sub get {
return $c->render( status => 200, openapi => _to_api($city->TO_JSON) );
}
=head3 add
=cut
sub add {
my $c = shift->openapi->valid_input or return;
@ -80,6 +96,10 @@ sub add {
};
}
=head3 update
=cut
sub update {
my $c = shift->openapi->valid_input or return;
@ -108,6 +128,10 @@ sub update {
};
}
=head3 delete
=cut
sub delete {
my $c = shift->openapi->valid_input or return;