(a) The city manager shall appoint or designate a representative of the city, having all the necessary qualifications, to perform the duties of an electrical inspector. (b) The electrical inspector shall have the authority to enter any building at reasonable hours, for the purpose of inspecting the electrical installations. Any person attempting to prevent such inspection, whether owner, lessee or his agent, shall be in violation of this Code.