Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (20 sloc) 0.497 kb
#! /opt/local/bin/ruby -w
# -*- mode:ruby; coding:utf-8 -*-
require 'atig/basic_twitter'
require 'atig/http'
module Atig
# from tig.rb
class SearchTwitter < BasicTwitter
def initialize(context)
super context, :search_api_base
@http = Atig::Http.new @log
end
protected
def request(uri, opts)
header = {}
req = @http.req :get, uri, header
@log.debug [req.method, uri.to_s]
@http.http(uri, 30, 30).request req
end
end
end
Jump to Line
Something went wrong with that request. Please try again.