The commission may by resolution or ordinance adopted at any meeting thereof, and to take effect at once if so provided in the resolution, exercise all power and authority in declaring a quarantine and in enforcing same.