Class Twitter::REST::Client
In: lib/twitter/rest/client.rb
Parent: Twitter::Client

Methods

Included Modules

Twitter::REST::API

Constants

BASE_URL = 'https://api.twitter.com'.freeze
URL_PREFIX = BASE_URL
ENDPOINT = BASE_URL

Attributes

bearer_token  [RW] 

Public Instance methods

@return [Boolean]

Returns a Faraday::Connection object

@return [Faraday::Connection]

@return [Hash]

@return [Boolean]

Perform an HTTP GET request

@note Faraday‘s middleware stack implementation is comparable to that of Rack middleware. The order of middleware is important: the first middleware on the list wraps all others, while the last middleware is the innermost one. @see github.com/technoweenie/faraday#advanced-middleware-usage @see mislav.uniqpath.com/2011/07/faraday-advanced-http/ @return [Faraday::RackBuilder]

@params middleware [Faraday::RackBuilder] @return [Faraday::RackBuilder]

Perform an HTTP POST request

[Validate]