Module: Gamesdb::Publishers

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

Overview

Publishers related API Endpoints

Instance Method Summary collapse

Instance Method Details

#publishersObject



6
7
8
9
10
11
12
13
# File 'lib/thegamesdb/publishers.rb', line 6

def publishers
  url = 'Publishers'

  data = perform_request(url)
  data['data']['publishers'].map do |_id, publisher|
    publisher
  end
end