Class: RawgApi::Clients::Creators

Inherits:
BaseClient
  • Object
show all
Defined in:
lib/rawg_api/clients/creators.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/creators.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/creators.rb', line 10

def find(id)
  get(id)
end