Prohibited. Neither the mayor, nor any member of the council, nor any city officer, shall be interested, directly or indirectly, in any contract made with the city, or receive any profit or emolument for any purchase or sale of material or other articles paid out of the public revenue, or for which the city becomes responsible.