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
Characters. -
#all_episodes(page : UInt64 = 1) : Array(Episode)
Gets list of all
Episodes. -
#all_locations(page : UInt64 = 1) : Array(Location)
Gets list of all
Locations. -
#character(id : UInt64) : Character
Gets a single
Character. -
#characters(*ids : UInt64) : Array(Character)
Gets list of multiple
Characters. -
#characters(**params) : Array(Character)
Gets list of multiple
Characters. -
#episode(id : UInt64) : Episode
Gets a single
Episode. -
#episodes(*ids : UInt64) : Array(Episode)
Gets list of multiple
Episodes. -
#episodes(**params) : Array(Episode)
Gets list of multiple
Episodes. -
#location(id : UInt64) : Location
Gets a single
Location. -
#locations(*ids : UInt64) : Array(Location)
Gets list of multiple
Locations. -
#locations(**params) : Array(Location)
Gets list of multiple
Locations.
Instance Method Detail
Gets list of all Characters.