see https://github.com/brixen/redcard/blob/master/lib/redcard.rb#L22