The Ninja class comes from the trainers rather than a shop. Head to the ninja trainer in Greenguard Forest to unlock it.
The claim about buying it at Yulgars Inn in BattleOn doesn't hold up — that's not where the class is obtained.