Class: Discogs::Artist

Inherits:
Base
  • Object
show all
Defined in:
lib/artist.rb

Constant Summary

Constants inherited from Base

Base::DISCOGS_BASE_URL

Instance Attribute Summary collapse

Attributes inherited from Base

#api_key, #request_string, #request_type

Instance Method Summary collapse

Methods inherited from Base

#fetched, #initialize, #parsed

Constructor Details

This class inherits a constructor from Discogs::Base

Instance Attribute Details

#imagesObject

an array images



30
31
32
# File 'lib/artist.rb', line 30

def images
  @images
end

#membersObject

Discogs Data



25
26
27
# File 'lib/artist.rb', line 25

def members
  @members
end

#nameObject

Discogs Data



12
13
14
# File 'lib/artist.rb', line 12

def name
  @name
end

#realnameObject

Discogs Data



17
18
19
# File 'lib/artist.rb', line 17

def realname
  @realname
end

#releasesObject

for each release on the artist this will make a new API request for each release. Be careful!!!



48
49
50
# File 'lib/artist.rb', line 48

def releases
  @releases
end

#urlsObject

an array of urls



41
42
43
# File 'lib/artist.rb', line 41

def urls
  @urls
end

Instance Method Details

#to_sObject

:nodoc:



54
55
56
# File 'lib/artist.rb', line 54

def to_s #:nodoc:
  name
end