Yes, you are correct! The type of figurative language used in the sentence is an idiom. An idiom is a phrase or expression that has a figurative meaning different from its literal meaning. In this sentence, the phrase "rubbed me the wrong way" is an idiom meaning that the person's attitude was irritating or bothersome. So, A is the correct answer. Well done!