rdavid1099 / poke-api-v2

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Persist `custom_endpoint_object` for `NamedAPiResource#get`

rdavid1099 opened this issue · comments

Completing an incomplete NamedApiResource, for example PokeApi::Item.new(name: 'poke-ball', url: 'https://pokeapi.co/api/v2/item/4/'), with #get does not take into account the custom_endpoint_objects defined in #initialize.

Closed with PR #72