rdavid1099 / poke-api-v2

Ruby gem wrapper for https://pokeapi.co/api/v2/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PokeApi::ApiResourceList#next and #previous

rdavid1099 opened this issue · comments

Build out functionality of PokeApi::ApiResourceList calling #next or #previous should fetch data from @next_url or @previous_url given the urls exist and return the new instance of PokeApi::ApiResourceList.