Sha256: 3943d5fbc5f7b2fde662e9989df4cce4b4fd84d7f21a7199b694a324b4418fae
Contents?: true
Size: 428 Bytes
Versions: 1
Compression:
Stored size: 428 Bytes
Contents
module RSpotify class Artist < Base def self.find(id) super(id, 'artist') end def self.search(query, limit = 20, offset = 0) super(query, 'artist', limit, offset) end def initialize(options = {}) @genres = options['genres'] @images = options['images'] @name = options['name'] @popularity = options['popularity'] super(options) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rspotify-0.4.0 | lib/rspotify/artist.rb |