Sha256: 4cae218e9ab51abd020ff7469c1f7731564ac2a982cae1f16d2f0446998fe25a
Contents?: true
Size: 469 Bytes
Versions: 7
Compression:
Stored size: 469 Bytes
Contents
module ItunesApi module Music # Artist or Band resulting from a specific lookup class ArtistLookup attr_reader_init :artist_id, :store selfie :artist, :store def artist build_artist end private def build_artist return lookup unless lookup Artist.new(lookup, store) end def lookup @lookup ||= Requests::Lookup.artist_with_albums(artist_id, store) end end end end
Version data entries
7 entries across 7 versions & 1 rubygems