Class: EivuFingerprinterAcoustid::Objects::Artist
- Defined in:
- lib/eivu_fingerprinter_acoustid/objects/artist.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#joinphrase ⇒ Object
readonly
Returns the value of attribute joinphrase.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(id:, name:, joinphrase: nil) ⇒ Artist
constructor
A new instance of Artist.
Methods inherited from BaseClass
Constructor Details
#initialize(id:, name:, joinphrase: nil) ⇒ Artist
10 11 12 13 14 |
# File 'lib/eivu_fingerprinter_acoustid/objects/artist.rb', line 10 def initialize(id:, name:, joinphrase: nil) @id = id @name = name @joinphrase = joinphrase end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
8 9 10 |
# File 'lib/eivu_fingerprinter_acoustid/objects/artist.rb', line 8 def id @id end |
#joinphrase ⇒ Object (readonly)
Returns the value of attribute joinphrase.
8 9 10 |
# File 'lib/eivu_fingerprinter_acoustid/objects/artist.rb', line 8 def joinphrase @joinphrase end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
8 9 10 |
# File 'lib/eivu_fingerprinter_acoustid/objects/artist.rb', line 8 def name @name end |