What does ‘ball’ mean?

( n ) Great fun. Her class is a ball.
( v ) To flaunt money or wealth. Check out his Mercedes; he’s just balling.