Updated ruby version
Added method for retrieving event types