Module: Discogs::Api::Artists

Defined in:
lib/discogs/api/artists.rb

Class Method Summary collapse

Class Method Details

.get(client, artist_id) ⇒ Object



2
3
4
# File 'lib/discogs/api/artists.rb', line 2

def self.get(client, artist_id)
  client.get Discogs::Api::Url.resolve('artists', artist_id)
end

.releases(client, artist_id) ⇒ Object



6
7
8
# File 'lib/discogs/api/artists.rb', line 6

def self.releases(client, artist_id)
  client.get Discogs::Api::Url.resolve('artists', artist_id, 'releases')
end