Add custom data / fakemon support
Closed this issue · 0 comments
jalyna commented
E.g.
json = File.read('my_pokemon.json')
Oakdex::Pokedex::Pokemon.valid?(json) #=> true
Oakdex::Pokedex::Pokemon.add_custom(json) # raises error if invalid
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