From b039bb923d25f41747334d46af2ec97ab88e8602 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 --- 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 3c7c5e7..5a579b4 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.10.2