Class: RawgApi::Clients::Games::SuggestedGames

Inherits:
BaseClient
  • Object
show all
Defined in:
lib/rawg_api/clients/game/suggested_games.rb

Constant Summary

Constants inherited from BaseClient

BaseClient::DEFAULT_PAGE_SIZE

Instance Method Summary collapse

Instance Method Details

#find(id, page: 1, page_size: DEFAULT_PAGE_SIZE) ⇒ Object



7
8
9
# File 'lib/rawg_api/clients/game/suggested_games.rb', line 7

def find(id, page: 1, page_size: DEFAULT_PAGE_SIZE)
  get(prefix: [:games, id], params: {page: page, page_size: page_size})
end