Class: Beatport::Catalog::Label
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
14
15
16
|
# File 'lib/beatport/catalog/label.rb', line 14
def all(options = {})
Client.retrieve 'labels', Label, options
end
|
.featured(*args) ⇒ Object
18
19
20
|
# File 'lib/beatport/catalog/label.rb', line 18
def featured(*args)
Client.retrieve 'featured/labels', Label, *args
end
|
.find(*args) ⇒ Object
22
23
24
|
# File 'lib/beatport/catalog/label.rb', line 22
def find(*args)
Client.retrieve 'labels', Label, *args
end
|
.name_facet ⇒ Object
26
27
28
|
# File 'lib/beatport/catalog/label.rb', line 26
def name_facet
:label_name
end
|
Instance Method Details
#releases(options) ⇒ Object
31
32
33
34
|
# File 'lib/beatport/catalog/label.rb', line 31
def releases(options)
options[:label_id] = id
Release.all(options)
end
|