Class: Intown::Artist

Inherits:
Client
  • Object
show all
Defined in:
lib/intown/artist.rb

Constant Summary

Constants inherited from Client

Client::API_VERSION

Class Method Summary collapse

Methods inherited from Client

artist_identifier, bad_gateway, encode_name, facebook_identifier, internal_server_error, musicbrainz_identifier, options, process_not_acceptable, process_not_found, process_response

Class Method Details

.fetch(params) ⇒ Object



4
5
6
7
8
# File 'lib/intown/artist.rb', line 4

def fetch(params)
  identifier = artist_identifier(params)
  response = get("/artists/#{identifier}", options)
  process_response(response)
end