Class: Beatport::Catalog::Artist
Class Method Summary
collapse
Instance Method Summary
collapse
#url
Methods inherited from Item
#[], #associate, associations, find_by_name, has_many, has_one, #id, #initialize, lazy_accessor, #type
Constructor Details
This class inherits a constructor from Beatport::Item
Class Method Details
.all(options = {}) ⇒ Object
13
14
15
|
# File 'lib/beatport/catalog/artist.rb', line 13
def all(options = {})
Client.retrieve 'artists', Artist, options
end
|
.find(*args) ⇒ Object
17
18
19
|
# File 'lib/beatport/catalog/artist.rb', line 17
def find(*args)
Client.retrieve 'artists', Artist, *args
end
|
.name_facet ⇒ Object
21
22
23
|
# File 'lib/beatport/catalog/artist.rb', line 21
def name_facet
:artist_name
end
|
Instance Method Details
#top_downloads(options = {}) ⇒ Object