class Echowrap::Playlist

Attributes

actual_history_length[R]
api_key[R]
banned_artist_ids[R]
banned_song_ids[R]
contraints[R]
favorited_artist_ids[R]
favorited_song_ids[R]
favorites_map[R]
history[R]
invalid_artist_ids[R]
invalid_songs[R]
playlist_score[R]
ratings_map[R]
restart_request_ids[R]
rules_retries[R]
rules_run[R]
rules_runtime[R]
session_id[R]
skipped_songs[R]
song_scores[R]

Public Instance Methods

call_list() click to toggle source

@return [Array]

# File lib/echowrap/playlist.rb, line 13
def call_list
  @call_list ||= map_collection(Echowrap::CallList, :call_list)
end
category_map() click to toggle source

@return [Echowrap::CategoryMap]

# File lib/echowrap/playlist.rb, line 18
def category_map
  @category_map ||= Echowrap::CategoryMap.new(@attrs[:category_map])
end
lookahead() click to toggle source

@return [Array]

# File lib/echowrap/playlist.rb, line 23
def lookahead
  @lookahead ||= map_collection(Echowrap::Song, :lookahead)
end
options() click to toggle source

@return [Echowrap::Options]

# File lib/echowrap/playlist.rb, line 28
def options
  @options ||= Echowrap::Options.new(@attrs[:options])
end
rules() click to toggle source

@return [Array]

# File lib/echowrap/playlist.rb, line 33
def rules
  @rules ||= map_collection(Echowrap::Rule, :rules)
end
seeds() click to toggle source

@return [Echowrap::Seeds]

# File lib/echowrap/playlist.rb, line 38
def seeds
  @seeds ||= Echowrap::Seeds.new(@attrs[:seeds])
end
songs() click to toggle source

@return [Array]

# File lib/echowrap/playlist.rb, line 43
def songs
  @songs ||= map_collection(Echowrap::Song, :songs)
end