class Echowrap::Item
Attributes
artist_familiarity[R]
artist_hotttnesss[R]
artist_id[R]
artist_name[R]
date_added[R]
foreign_id[R]
last_modified[R]
play_count[R]
song_hotttnesss[R]
song_id[R]
song_name[R]
song_type[R]
Public Instance Methods
artist_location()
click to toggle source
@return [Echowrap::ArtistLocation]
# File lib/echowrap/item.rb, line 10 def artist_location @artist_location ||= Echowrap::Location.new(@attrs[:artist_location]) end
audio_summary()
click to toggle source
@return [Echowrap::AudioSummary]
# File lib/echowrap/item.rb, line 15 def audio_summary @audio_summary ||= Echowrap::AudioSummary.new(@attrs[:audio_summary]) end
biographies()
click to toggle source
@return [Array]
# File lib/echowrap/item.rb, line 20 def biographies @biographies ||= map_collection(Echowrap::Biography, :biographies) end
blogs()
click to toggle source
@return [Array]
# File lib/echowrap/item.rb, line 25 def blogs @blogs ||= map_collection(Echowrap::Blog, :blogs) end
doc_counts()
click to toggle source
@return [Echowrap::DocCounts]
# File lib/echowrap/item.rb, line 30 def doc_counts @doc_counts ||= Echowrap::DocCounts.new(@attrs[:doc_counts]) end
foreign_ids()
click to toggle source
@return [Array]
# File lib/echowrap/item.rb, line 35 def foreign_ids @foreign_ids ||= map_collection(Echowrap::ForeignId, :foreign_ids) end
images()
click to toggle source
@return [Array]
# File lib/echowrap/item.rb, line 40 def images @images ||= map_collection(Echowrap::Image, :images) end
location()
click to toggle source
@return [Echowrap::Location]
# File lib/echowrap/item.rb, line 45 def location @location ||= Echowrap::Location.new(@attrs[:artist_location]) end
news()
click to toggle source
@return [Array]
# File lib/echowrap/item.rb, line 50 def news @news ||= map_collection(Echowrap::NewsArticle, :news) end
request()
click to toggle source
@return [Echowrap::ItemRequest]
# File lib/echowrap/item.rb, line 55 def request @request ||= Echowrap::ItemRequest.new(@attrs[:request]) end
reviews()
click to toggle source
@return [Array]
# File lib/echowrap/item.rb, line 60 def reviews @reviews ||= map_collection(Echowrap::Review, :reviews) end
songs()
click to toggle source
@return [Array]
# File lib/echowrap/item.rb, line 65 def songs @songs ||= map_collection(Echowrap::Song, :songs) end
terms()
click to toggle source
@return [Array]
# File lib/echowrap/item.rb, line 70 def terms @terms ||= map_collection(Echowrap::Term, :terms) end
tracks()
click to toggle source
@return [Array]
# File lib/echowrap/item.rb, line 75 def tracks @tracks ||= map_collection(Echowrap::Track, :tracks) end
urls()
click to toggle source
@return [Echowrap::Urls]
# File lib/echowrap/item.rb, line 80 def urls @urls ||= Echowrap::Urls.new(@attrs[:urls]) end
video()
click to toggle source
@return [Array]
# File lib/echowrap/item.rb, line 85 def video @video ||= map_collection(Echowrap::Video, :video) end
years_active()
click to toggle source
@return [Array]
# File lib/echowrap/item.rb, line 90 def years_active @years_active ||= map_collection(Echowrap::YearsActive, :years_active) end