Class: Rdio::Search

Inherits:
Object show all
Defined in:
lib/rdio/types.rb

Overview

Wrapper for search

Class Method Summary collapse

Class Method Details

.counts(query, types = nil, never_or = nil, extras = nil, start = nil, count = nil) ⇒ Object

Search for ‘query’ and other parameters



672
673
674
# File 'lib/rdio/types.rb', line 672

def self.counts(query,types=nil,never_or=nil,extras=nil,start=nil,count=nil)
  Rdio::api.counts query,types,never_or,extras,start,count
end

.search(query, types = nil, never_or = nil, extras = nil, start = nil, count = nil) ⇒ Object

Searches for objects with type ‘type’ and ‘query’ and other parameters



678
679
680
# File 'lib/rdio/types.rb', line 678

def self.search(query,types=nil,never_or=nil,extras=nil,start=nil,count=nil)
  Rdio::api.search query,types,never_or,extras,start,count
end