Class: VericastIFPI::Song

Inherits:
Object
  • Object
show all
Defined in:
lib/vericast-ifpi.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_nameObject (readonly)

Returns the value of attribute artist_name.



9
10
11
# File 'lib/vericast-ifpi.rb', line 9

def artist_name
  @artist_name
end

#isrcObject (readonly)

Returns the value of attribute isrc.



9
10
11
# File 'lib/vericast-ifpi.rb', line 9

def isrc
  @isrc
end

#labelObject (readonly)

Returns the value of attribute label.



9
10
11
# File 'lib/vericast-ifpi.rb', line 9

def label
  @label
end

#song_titleObject (readonly)

Returns the value of attribute song_title.



9
10
11
# File 'lib/vericast-ifpi.rb', line 9

def song_title
  @song_title
end