From d1ccd5ed35be6fa5252a65005a7374d340b2acf9 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Fri, 16 Feb 2018 16:23:14 +0000 Subject: [PATCH] Bug 20004: Fix POD Signed-off-by: Kyle M Hall Signed-off-by: Jonathan Druart --- Koha/REST/V1/Cities.pm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/Koha/REST/V1/Cities.pm b/Koha/REST/V1/Cities.pm index 3c7c5e7c4c..5a579b4ee4 100644 --- a/Koha/REST/V1/Cities.pm +++ b/Koha/REST/V1/Cities.pm @@ -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; -- 2.39.5