Entropy and Sampling Numbers of Classes of Ridge Functions