Bug 20004: Fix POD
authorKyle M Hall <kyle@bywatersolutions.com>
Fri, 16 Feb 2018 16:23:14 +0000 (16:23 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 16 Feb 2018 20:53:42 +0000 (17:53 -0300)
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Koha/REST/V1/Cities.pm

index 3c7c5e7..5a579b4 100644 (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;