Module: Gamesdb::Developers

Included in:
Client
Defined in:
lib/thegamesdb/developers.rb

Overview

Developers related API Endpoints

Instance Method Summary collapse

Instance Method Details

#developersObject

Fetches Developers list

Returns:

  • Array of Hashes with id and name as keys

See Also:



11
12
13
14
15
# File 'lib/thegamesdb/developers.rb', line 11

def developers
  url = 'Developers'
  data = perform_request(url)
  data['data']['developers'].map { |_id, developer| developer }
end