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

14 lines (12 sloc) 0.449 kb
module Twitter
class Geo
def client(options={})
Twitter::Client.new(options)
end
def method_missing(method, *args, &block)
return super unless client.respond_to?(method)
warn "#{Kernel.caller.first}: [DEPRECATION] Twitter::Geo##{method} is deprecated and will be permanently removed in the next major version. Please use Twitter::Client##{method} instead."
client.send(method, *args, &block)
end
end
end
Jump to Line
Something went wrong with that request. Please try again.