Bug 32030: Max document file size - client-side validation
[koha-ffzg.git] / Koha / CurbsidePickupPolicy.pm
index 118e178..07e0719 100644 (file)
@@ -47,6 +47,14 @@ sub library {
     return Koha::Library->_new_from_dbic( $rs );
 }
 
+=head3 opening_slots
+
+$policy->opening_slots
+
+Return the list of opening slots (Koha::CurbsidePickupOpeningSlots object)
+
+=cut
+
 sub opening_slots {
     my ( $self ) = @_;
     my $rs = $self->_result->curbside_pickup_opening_slots;
@@ -54,6 +62,14 @@ sub opening_slots {
     return Koha::CurbsidePickupOpeningSlots->_new_from_dbic( $rs );
 }
 
+=head3 add_opening_slot
+
+$policy->add("$d-12:00-15:00");
+
+Add a new opening slot for this library. It must be formatted "day:start:end" with 'start' and 'end' in 24-hour format.
+
+=cut
+
 sub add_opening_slot {
     my ( $self, $slot ) = @_;