Class: RubyWebSearch::Yahoo

Inherits:
Object
  • Object
show all
Defined in:
lib/ruby-web-search.rb

Overview

Defined Under Namespace

Classes: Query, Response

Class Method Summary collapse

Class Method Details

.search(options = {}) ⇒ Object



202
203
204
205
# File 'lib/ruby-web-search.rb', line 202

def self.search(options={})
  query = ::RubyWebSearch::Yahoo::Query.new(options)
  query.execute
end

.unthreaded_search(options = {}) ⇒ Object



207
208
209
210
# File 'lib/ruby-web-search.rb', line 207

def self.unthreaded_search(options={})
  query = ::RubyWebSearch::Yahoo::Query.new(options)
  query.execute_unthreaded
end