class Echowrap::Song

Attributes

artist_familiarity[R]
artist_hotttnesss[R]
artist_id[R]
artist_name[R]
attributes[R]
id[R]
message[R]
score[R]
song_currency[R]
song_discovery[R]
song_hotttnesss[R]
song_type[R]
title[R]

Public Instance Methods

artist_location() click to toggle source

@return [Echowrap::ArtistLocation]

# File lib/echowrap/song.rb, line 15
def artist_location
  @artist_location ||= Echowrap::Location.new(@attrs[:artist_location])
end
audio_summary() click to toggle source

@return [Echowrap::AudioSummary]

# File lib/echowrap/song.rb, line 10
def audio_summary
  @audio_summary ||= Echowrap::AudioSummary.new(@attrs[:audio_summary])
end
tracks() click to toggle source

@return [Array]

# File lib/echowrap/song.rb, line 20
def tracks
  @tracks ||= map_collection(Echowrap::Track, :tracks)
end