Class: Beatport::Catalog::Autocomplete
- Defined in:
- lib/beatport/catalog/autocomplete.rb
Class 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
.query(query, options = {}) ⇒ Object
4 5 6 7 8 |
# File 'lib/beatport/catalog/autocomplete.rb', line 4 def self.query(query, = {}) ['query'] = query Client.retrieve 'autocomplete', Autocomplete, end |