Class: RawgApi::Clients::Platforms
- Inherits:
-
BaseClient
- Object
- ApiStruct::Client
- BaseClient
- RawgApi::Clients::Platforms
- Defined in:
- lib/rawg_api/clients/platforms.rb
Constant Summary
Constants inherited from BaseClient
Instance Method Summary collapse
Instance Method Details
#all(page: 1, page_size: DEFAULT_PAGE_SIZE) ⇒ Object
6 7 8 |
# File 'lib/rawg_api/clients/platforms.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/platforms.rb', line 10 def find(id) get(id) end |