Class: Dance::Genres
Class Method Summary collapse
Methods inherited from Client
#artists, #genres, #initialize, #tracks, #users
Constructor Details
This class inherits a constructor from Dance::Client
Class Method Details
.all ⇒ Object
4 5 6 |
# File 'lib/dance/genres.rb', line 4 def self.all get('/genres') end |
.info(id) ⇒ Object
8 9 10 |
# File 'lib/dance/genres.rb', line 8 def self.info(id) get('/genres/' + id.to_s) end |