Skip to content

Commit

Permalink
Add API endpoint option to search
Browse files Browse the repository at this point in the history
  • Loading branch information
pengwynn committed May 26, 2010
1 parent 69dc533 commit 3c3d73f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/twitter/search.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3c3d73f

Please sign in to comment.