There is hereby adopted by the city for the purpose of establishing rules and regulations for the installation, maintenance and repair of electrical wiring, apparatus or equipment for light, heat or power inside of or attached to buildings within the limits of the city and its extraterritorial jurisdiction or attached to the service company's lines, a certain code known as the National Electrical Code, most recent edition, and the same is hereby adopted and incorporated as fully as if set out at length herein.