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