class RickAndMortyApi::Client
- RickAndMortyApi::Client
- Reference
- Object
Defined in:
rick_and_morty_api/client.crInstance Method Summary
-
#all_characters(page : UInt64 = 1) : Array(Character)
Gets list of all
Character
s. -
#all_episodes(page : UInt64 = 1) : Array(Episode)
Gets list of all
Episode
s. -
#all_locations(page : UInt64 = 1) : Array(Location)
Gets list of all
Location
s. -
#character(id : UInt64) : Character
Gets a single
Character
. -
#characters(*ids : UInt64) : Array(Character)
Gets list of multiple
Character
s. -
#characters(**params) : Array(Character)
Gets list of multiple
Character
s. -
#episode(id : UInt64) : Episode
Gets a single
Episode
. -
#episodes(*ids : UInt64) : Array(Episode)
Gets list of multiple
Episode
s. -
#episodes(**params) : Array(Episode)
Gets list of multiple
Episode
s. -
#location(id : UInt64) : Location
Gets a single
Location
. -
#locations(*ids : UInt64) : Array(Location)
Gets list of multiple
Location
s. -
#locations(**params) : Array(Location)
Gets list of multiple
Location
s.
Instance Method Detail
Gets list of all Character
s.