Class: Beatport::Catalog::Search

Inherits:
Object
  • Object
show all
Defined in:
lib/beatport/catalog/search.rb

Class Method Summary collapse

Class Method Details

.query(query, options = {}) ⇒ Object



4
5
6
7
8
# File 'lib/beatport/catalog/search.rb', line 4

def self.query(query, options = {})
  options['query'] = query

  Client.retrieve 'search', :auto, options
end