module PokeAPI::Machines
Overview
The PokeAPI::Machines
module contains methods to get data from the different
endpoints in the Machines group.
NOTE see https://pokeapi.co/docs/v2#machines-section
Defined in:
pokeapi/machines.crInstance Method Summary
-
#machine(id : UInt32) : PokeAPI::Types::Machine
Returns a
PokeAPI::Types::Machine
based on the given id.
Instance Method Detail
def machine(id : UInt32) : PokeAPI::Types::Machine
#
Returns a PokeAPI::Types::Machine
based on the given id.
An ArgumentError
is raised if the id is 0