class PokeApi::ItemPocket
ItemPocket
object handling all data fetched from /item-pocket
Attributes
categories[R]
names[R]
Public Class Methods
new(data)
click to toggle source
# File lib/poke_api/item_pocket.rb, line 7 def initialize(data) assign_data(data) end
Private Instance Methods
custom_endpoint_object()
click to toggle source
# File lib/poke_api/item_pocket.rb, line 13 def custom_endpoint_object { categories: ItemCategory } end