Sha256: cd55906f166d82c75bb216c339ed3a2611f93fa9eeb64a99f6b6566955380b77
Contents?: true
Size: 998 Bytes
Versions: 11
Compression:
Stored size: 998 Bytes
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 } 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
11 entries across 11 versions & 1 rubygems