Method: IGDB::Client#initialize
- Defined in:
- lib/igdb_client.rb
#initialize(client_id, token, endpoint = 'games') ⇒ Client
Returns a new instance of Client.
12 13 14 15 16 |
# File 'lib/igdb_client.rb', line 12 def initialize(client_id, token, endpoint = 'games') @client_id = client_id @token = token @endpoint = endpoint end |