In case of the violation of any injunction granted under the provisions of §§ 21-10-10 to 21-10-19, inclusive, the court, or in vacation a judge thereof, may summarily try and punish the offender. The proceedings shall be commenced by filing with the clerk of courts, an information under oath, setting out the alleged facts constituting such violation, upon which the court or judge shall cause a warrant to issue, under which the defendant shall be arrested. The trial may be had upon affidavits, or either party may demand the production and oral examination of the witnesses. A party found guilty of contempt under the provisions of this section shall be guilty of a Class 2 misdemeanor.
SDCL 21-10-20