Rails Api application for managing pets