The Supreme Court ruled in favor Monday of a Colorado baker who refused to make a wedding cake for a same-sex couple because of religious beliefs.