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

29 lines (25 sloc) 0.677 kb
require 'twitter/api'
require 'twitter/base'
require 'twitter/client'
require 'twitter/configuration'
require 'twitter/error'
require 'twitter/search'
module Twitter
extend Configuration
class << self
# Alias for Twitter::Client.new
#
# @return [Twitter::Client]
def new(options={})
Twitter::Client.new(options)
end
# Delegate to Twitter::Client
def method_missing(method, *args, &block)
return super unless new.respond_to?(method)
new.send(method, *args, &block)
end
def respond_to?(method, include_private = false)
new.respond_to?(method, include_private) || super(method, include_private)
end
end
end
Jump to Line
Something went wrong with that request. Please try again.