Class: RawgApi::Clients::Developers
- Inherits:
-
BaseClient
- Object
- ApiStruct::Client
- BaseClient
- RawgApi::Clients::Developers
show all
- Defined in:
- lib/rawg_api/clients/developers.rb
Constant Summary
Constants inherited
from BaseClient
BaseClient::DEFAULT_PAGE_SIZE
Instance Method Summary
collapse
Instance Method Details
#all(page: 1, page_size: DEFAULT_PAGE_SIZE) ⇒ Object
6
7
8
|
# File 'lib/rawg_api/clients/developers.rb', line 6
def all(page: 1, page_size: DEFAULT_PAGE_SIZE)
get(params: {page: page, page_size: page_size})
end
|
#find(id) ⇒ Object
10
11
12
|
# File 'lib/rawg_api/clients/developers.rb', line 10
def find(id)
get(id)
end
|