lib/gscraper/search/search.rb in gscraper-0.1.5 vs lib/gscraper/search/search.rb in gscraper-0.1.6

- old
+ new

@@ -1,19 +1,19 @@ require 'gscraper/search/query' module GScraper module Search # - # Returns a new Query object with the given _opts_. See Query.new. + # Returns a new Query object with the given _options_. See Query.new. # # Search.query(:query => 'ruby', :with_words => 'sow rspec') # # Search.query(:exact_phrase => 'fluent interfaces') do |q| # q.within_past_week = true # end # - def Search.query(opts={},&block) - Query.new(opts,&block) + def Search.query(options={},&block) + Query.new(options,&block) end # # Returns the Query object that represents the specified _url_. # See Query.from_url.