jalyna/oakdex-pokedex

Add custom data / fakemon support

Closed this issue · 0 comments

E.g.

json = File.read('my_pokemon.json')
Oakdex::Pokedex::Pokemon.valid?(json) #=> true
Oakdex::Pokedex::Pokemon.add_custom(json) # raises error if invalid