Class: RawgApi::Clients::Games::Youtube

Inherits:
BaseClient
  • Object
show all
Defined in:
lib/rawg_api/clients/game/youtube.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/youtube.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