title: Twitter Gem Search method
body: <p>My code is here</p>
  
  <pre><code>require 'twitter'
  
  
  
  search = Twitter::Search.new.containing("obama")
  </code></pre>
  
  <p>it returns us </p>
  
  <pre><code> #&lt;Twitter::Search:0xb6881f9c @proxy=nil, @gateway=nil, @format=:json, @search_endpoint="https://search.twitter.com/", @consumer_key=nil, @adapter=:net_http, @endpoint="https://api.twitter.com/1/", @oauth_token_secret=nil, @query={:q=&gt;["obama"], :tude=&gt;[]}, @oauth_token=nil, @consumer_secret=nil, @user_agent="Twitter Ruby Gem 1.6.2", @cache=nil&gt;
  </code></pre>
  
  <p>I want to search only public tweets that contain <code>obama</code></p>
  
  <p>How can i do this</p>