Class: Echowrap::Song
Instance Attribute Summary collapse
-
#artist_familiarity ⇒ Object
readonly
Returns the value of attribute artist_familiarity.
-
#artist_hotttnesss ⇒ Object
readonly
Returns the value of attribute artist_hotttnesss.
-
#artist_id ⇒ Object
readonly
Returns the value of attribute artist_id.
-
#artist_name ⇒ Object
readonly
Returns the value of attribute artist_name.
-
#attributes ⇒ Object
readonly
Returns the value of attribute attributes.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#score ⇒ Object
readonly
Returns the value of attribute score.
-
#song_currency ⇒ Object
readonly
Returns the value of attribute song_currency.
-
#song_discovery ⇒ Object
readonly
Returns the value of attribute song_discovery.
-
#song_hotttnesss ⇒ Object
readonly
Returns the value of attribute song_hotttnesss.
-
#song_type ⇒ Object
readonly
Returns the value of attribute song_type.
-
#title ⇒ Object
readonly
Returns the value of attribute title.
Instance Method Summary collapse
Methods inherited from Base
#==, attr_reader, #attrs, #initialize, #update
Constructor Details
This class inherits a constructor from Echowrap::Base
Instance Attribute Details
#artist_familiarity ⇒ Object (readonly)
Returns the value of attribute artist_familiarity.
5 6 7 |
# File 'lib/echowrap/song.rb', line 5 def artist_familiarity @artist_familiarity end |
#artist_hotttnesss ⇒ Object (readonly)
Returns the value of attribute artist_hotttnesss.
5 6 7 |
# File 'lib/echowrap/song.rb', line 5 def artist_hotttnesss @artist_hotttnesss end |
#artist_id ⇒ Object (readonly)
Returns the value of attribute artist_id.
5 6 7 |
# File 'lib/echowrap/song.rb', line 5 def artist_id @artist_id end |
#artist_name ⇒ Object (readonly)
Returns the value of attribute artist_name.
5 6 7 |
# File 'lib/echowrap/song.rb', line 5 def artist_name @artist_name end |
#attributes ⇒ Object (readonly)
Returns the value of attribute attributes.
5 6 7 |
# File 'lib/echowrap/song.rb', line 5 def attributes @attributes end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
5 6 7 |
# File 'lib/echowrap/song.rb', line 5 def id @id end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
5 6 7 |
# File 'lib/echowrap/song.rb', line 5 def @message end |
#score ⇒ Object (readonly)
Returns the value of attribute score.
5 6 7 |
# File 'lib/echowrap/song.rb', line 5 def score @score end |
#song_currency ⇒ Object (readonly)
Returns the value of attribute song_currency.
5 6 7 |
# File 'lib/echowrap/song.rb', line 5 def song_currency @song_currency end |
#song_discovery ⇒ Object (readonly)
Returns the value of attribute song_discovery.
5 6 7 |
# File 'lib/echowrap/song.rb', line 5 def song_discovery @song_discovery end |
#song_hotttnesss ⇒ Object (readonly)
Returns the value of attribute song_hotttnesss.
5 6 7 |
# File 'lib/echowrap/song.rb', line 5 def song_hotttnesss @song_hotttnesss end |
#song_type ⇒ Object (readonly)
Returns the value of attribute song_type.
5 6 7 |
# File 'lib/echowrap/song.rb', line 5 def song_type @song_type end |
#title ⇒ Object (readonly)
Returns the value of attribute title.
5 6 7 |
# File 'lib/echowrap/song.rb', line 5 def title @title end |
Instance Method Details
#artist_location ⇒ Echowrap::ArtistLocation
15 16 17 |
# File 'lib/echowrap/song.rb', line 15 def artist_location @artist_location ||= Echowrap::Location.new(@attrs[:artist_location]) end |
#audio_summary ⇒ Echowrap::AudioSummary
10 11 12 |
# File 'lib/echowrap/song.rb', line 10 def audio_summary @audio_summary ||= Echowrap::AudioSummary.new(@attrs[:audio_summary]) end |