The owner or keeper of any dog, cat or other animal impounded for the purposes of quarantine, as set forth in sections 22-358 and 22-359, shall pay the amount determined by the municipality to be the full cost of detention and care of such quarantined animal.