Class: EivuFingerprinterAcoustid::Objects::Artist

Inherits:
BaseClass
  • Object
show all
Defined in:
lib/eivu_fingerprinter_acoustid/objects/artist.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from BaseClass

#==, #hash, #state

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

#idObject (readonly)

Returns the value of attribute id.



8
9
10
# File 'lib/eivu_fingerprinter_acoustid/objects/artist.rb', line 8

def id
  @id
end

#joinphraseObject (readonly)

Returns the value of attribute joinphrase.



8
9
10
# File 'lib/eivu_fingerprinter_acoustid/objects/artist.rb', line 8

def joinphrase
  @joinphrase
end

#nameObject (readonly)

Returns the value of attribute name.



8
9
10
# File 'lib/eivu_fingerprinter_acoustid/objects/artist.rb', line 8

def name
  @name
end