Class: RawgApi::Clients::Games::Additions
- Inherits:
-
BaseClient
- Object
- ApiStruct::Client
- BaseClient
- RawgApi::Clients::Games::Additions
show all
- Defined in:
- lib/rawg_api/clients/game/additions.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/additions.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
|