Permalink
Browse files

Add API endpoint option to search

  • Loading branch information...
1 parent 69dc533 commit 3c3d73fb8eedb5d322aeb1e4431d9936226fef9b @pengwynn pengwynn committed May 26, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/twitter/search.rb
View
1 lib/twitter/search.rb
@@ -11,6 +11,7 @@ def initialize(q=nil, options={})
@options = options
clear
containing(q) if q && q.strip != ""
+ self.class.base_uri(options[:api_endpoint]) if options[:api_endpoint]
end
def user_agent

0 comments on commit 3c3d73f

Please sign in to comment.