Work well for whom? The outcome of cases like your example are the lawyers getting $$$$ and the class members getting a 20%-off-your-next-purchase coupon.
Well, compared to the individual suing which would cost them potentially tens of thousands of dollars in lawyer fees for their $100 verdict, they did pretty darn well to get your coupon for a free frostie.