Module: TweetStream

Extended by:
Configuration
Defined in:
lib/tweetstream.rb,
lib/tweetstream/client.rb,
lib/tweetstream/version.rb,
lib/tweetstream/arguments.rb,
lib/tweetstream/configuration.rb,
lib/tweetstream/site_stream_client.rb

Defined Under Namespace

Modules: Configuration Classes: Arguments, Client, Daemon, ReconnectError, SiteStreamClient

Constant Summary collapse

VERSION =
'2.6.1'

Constants included from Configuration

Configuration::DEFAULT_AUTH_METHOD, Configuration::DEFAULT_CONSUMER_KEY, Configuration::DEFAULT_CONSUMER_SECRET, Configuration::DEFAULT_OAUTH_TOKEN, Configuration::DEFAULT_OAUTH_TOKEN_SECRET, Configuration::DEFAULT_PASSWORD, Configuration::DEFAULT_PROXY, Configuration::DEFAULT_USERNAME, Configuration::DEFAULT_USER_AGENT, Configuration::OAUTH_OPTIONS_KEYS, Configuration::VALID_FORMATS, Configuration::VALID_OPTIONS_KEYS

Class Method Summary collapse

Methods included from Configuration

configure, extended, oauth_options, options, reset

Class Method Details

.method_missing(method, *args, &block) ⇒ Object

Delegate to TweetStream::Client



26
27
28
29
# File 'lib/tweetstream.rb', line 26

def method_missing(method, *args, &block)
  return super unless new.respond_to?(method)
  new.send(method, *args, &block)
end

.new(options = {}) ⇒ TweetStream::Client

Alias for TweetStream::Client.new

Returns:



21
22
23
# File 'lib/tweetstream.rb', line 21

def new(options = {})
  TweetStream::Client.new(options)
end

.respond_to?(method, include_private = false) ⇒ Boolean

Delegate to TweetStream::Client

Returns:

  • (Boolean)


32
33
34
# File 'lib/tweetstream.rb', line 32

def respond_to?(method, include_private = false)
  new.respond_to?(method, include_private) || super(method, include_private)
end