Module: EventMachine::Twitter
- Defined in:
- lib/em-twitter.rb,
lib/em-twitter/proxy.rb,
lib/em-twitter/client.rb,
lib/em-twitter/request.rb,
lib/em-twitter/version.rb,
lib/em-twitter/response.rb,
lib/em-twitter/connection.rb,
lib/em-twitter/decoders/base_decoder.rb,
lib/em-twitter/decoders/gzip_decoder.rb,
lib/em-twitter/reconnectors/network_failure.rb,
lib/em-twitter/reconnectors/application_failure.rb
Defined Under Namespace
Modules: Reconnectors
Classes: BaseDecoder, Client, ConfigurationError, Connection, GzipDecoder, Proxy, ReconnectLimitError, Request, Response
Constant Summary
collapse
- DEFAULT_CONNECTION_OPTIONS =
{
:host => 'stream.twitter.com',
:port => 443,
:method => 'POST',
:content_type => "application/x-www-form-urlencoded",
:path => '/',
:params => {},
:headers => {},
:user_agent => "EM::Twitter Ruby Gem #{EM::Twitter::VERSION}",
:proxy => nil,
:ssl => {},
:timeout => 0,
:oauth => {},
:basic => {},
:encoding => nil,
:auto_reconnect => true
}
- VERSION =
"0.3.5"
Class Method Summary
collapse
Class Method Details
.logger ⇒ Object
28
29
30
|
# File 'lib/em-twitter.rb', line 28
def self.logger
@logger ||= Logger.new(STDOUT)
end
|
.logger=(new_logger) ⇒ Object
32
33
34
|
# File 'lib/em-twitter.rb', line 32
def self.logger=(new_logger)
@logger = new_logger
end
|