Class: NextBigSoundLite::Genre
- Defined in:
- lib/next_big_sound_lite/resources/genre.rb
Class Method Summary collapse
Methods inherited from Resource
Class Method Details
.artist(id) ⇒ Object
9 10 11 12 13 |
# File 'lib/next_big_sound_lite/resources/genre.rb', line 9 def self.artist(id) get resource["artist/#{id}.json"] do |response| idfy response end end |
.resource ⇒ Object
5 6 7 |
# File 'lib/next_big_sound_lite/resources/genre.rb', line 5 def self.resource super 'genres' end |