It all depends on your reads.
If you've been watching your opponent and you see that he's a total calling station, then you should've bet all streets.
If you've been watching your opponent and you see that he only ever bets with the nuts, and checks down very good hands, then you palyed it fine.
Remember to watch your opponents habits and how they play, it'll help you make more money!