Class: NBS::Genre
- Inherits:
-
Object
- Object
- NBS::Genre
- Defined in:
- lib/next-big-sound-lite.rb
Class Method Summary collapse
Class Method Details
.artist(id) ⇒ Object
35 36 37 38 |
# File 'lib/next-big-sound-lite.rb', line 35 def self.artist(id) res = @resource["artist/#{id}.json"].get JSON.parse(res) end |