Class: Homophone::Service::Spotify

Inherits:
Object
  • Object
show all
Includes:
HTTParty, MusicianRetriever
Defined in:
lib/homophone/service.rb

Instance Method Summary collapse

Methods included from MusicianRetriever

#musician

Instance Method Details

#get(url) ⇒ Object



23
24
25
# File 'lib/homophone/service.rb', line 23

def get(url)
  JSON.parse(self.class.get(url).body)
end