Object
Wrapper for the Twitter REST API
@note All methods have been separated into modules and follow the same grouping used in {dev.twitter.com/doc the Twitter API Documentation}. @see dev.twitter.com/pages/every_developer
Initializes a new Client object
@param options [Hash] @return [Twitter::Client]
# File lib/twitter/client.rb, line 53 def initialize(options={}) Twitter::Configurable.keys.each do |key| instance_variable_set(:"@#{key}", options[key] || Twitter.instance_variable_get(:"@#{key}")) end end
Perform an HTTP DELETE request
# File lib/twitter/client.rb, line 60 def delete(path, params={}) request(:delete, path, params) end
Perform an HTTP GET request
# File lib/twitter/client.rb, line 65 def get(path, params={}) request(:get, path, params) end
Generated with the Darkfish Rdoc Generator 2.