Class: VericastIFPI::Song
- Inherits:
-
Object
- Object
- VericastIFPI::Song
- Defined in:
- lib/vericast-ifpi.rb
Instance Attribute Summary collapse
-
#artist_name ⇒ Object
readonly
Returns the value of attribute artist_name.
-
#isrc ⇒ Object
readonly
Returns the value of attribute isrc.
-
#label ⇒ Object
readonly
Returns the value of attribute label.
-
#song_title ⇒ Object
readonly
Returns the value of attribute song_title.
Instance Method Summary collapse
-
#initialize(artist_name, song_title, label, isrc) ⇒ Song
constructor
A new instance of Song.
Constructor Details
#initialize(artist_name, song_title, label, isrc) ⇒ Song
Returns a new instance of Song.
10 11 12 |
# File 'lib/vericast-ifpi.rb', line 10 def initialize( artist_name, song_title, label, isrc ) @artist_name, @song_title, @label, @isrc = artist_name, song_title, label, isrc end |
Instance Attribute Details
#artist_name ⇒ Object (readonly)
Returns the value of attribute artist_name.
9 10 11 |
# File 'lib/vericast-ifpi.rb', line 9 def artist_name @artist_name end |
#isrc ⇒ Object (readonly)
Returns the value of attribute isrc.
9 10 11 |
# File 'lib/vericast-ifpi.rb', line 9 def isrc @isrc end |
#label ⇒ Object (readonly)
Returns the value of attribute label.
9 10 11 |
# File 'lib/vericast-ifpi.rb', line 9 def label @label end |
#song_title ⇒ Object (readonly)
Returns the value of attribute song_title.
9 10 11 |
# File 'lib/vericast-ifpi.rb', line 9 def song_title @song_title end |