Sha256: 963120afa45c6573114120d69204b7f1295588b0447bae7abd209399e92f9073
Contents?: true
Size: 485 Bytes
Versions: 5
Compression:
Stored size: 485 Bytes
Contents
module RSpotify class Artist < Base attr_accessor :genres, :images, :name, :popularity 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
5 entries across 5 versions & 1 rubygems