Class: Beatport::Catalog::Artist
- Inherits:
-
Item
- Object
- OpenStruct
- Item
- Beatport::Catalog::Artist
show all
- Defined in:
- lib/beatport/catalog/artist.rb
Class Method Summary
collapse
Instance Method Summary
collapse
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
11
12
13
|
# File 'lib/beatport/catalog/artist.rb', line 11
def all(options = {})
Client.retrieve 'artists', Artist, options
end
|
.find(*args) ⇒ Object
15
16
17
|
# File 'lib/beatport/catalog/artist.rb', line 15
def find(*args)
Client.retrieve 'artists', Artist, *args
end
|
.name_facet ⇒ Object
19
20
21
|
# File 'lib/beatport/catalog/artist.rb', line 19
def name_facet
:artist_name
end
|
Instance Method Details
#top_downloads(options = {}) ⇒ Object