Sha256: 8284bc5945b012bd73e7bea3e8370434951a2a16324dd1ae748d359b985ca221
Contents?: true
Size: 1.05 KB
Versions: 1
Compression:
Stored size: 1.05 KB
Contents
require 'em-twitter/client' require 'em-twitter/version' require 'logger' module EventMachine module Twitter 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 } DEFAULT_REQUEST_PARAMETERS = { :stall_warnings => 'true' } class ReconnectLimitError < StandardError; end class ConfigurationError < StandardError; end def self.logger @logger ||= Logger.new(STDOUT) end def self.logger=(new_logger) @logger = new_logger end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
em-twitter-0.2.0 | lib/em-twitter.rb |