Class: MixCloud::Artist

Inherits:
Hashie::Dash
  • Object
show all
Includes:
HTTParty
Defined in:
lib/mixcloud/artist.rb

Class Method Summary collapse

Class Method Details

.find(artist) ⇒ Object



19
20
21
22
# File 'lib/mixcloud/artist.rb', line 19

def self.find(artist)
  res = self.get("/artist/#{artist}?metadata=1")
  self.new res
end