Module: TweetStream

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

Defined Under Namespace

Modules: Configuration Classes: Client, ConnectionError, Daemon, Error, ReconnectError, SiteStreamClient, Terminated

Constant Summary

VERSION =
'1.1.5'

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_PARSER, Configuration::DEFAULT_PASSWORD, 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

+ (Object) method_missing(method, *args, &block)

Delegate to TweetStream::Client



18
19
20
21
# File 'lib/tweetstream.rb', line 18

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

+ (TweetStream::Client) new(options = {})

Alias for TweetStream::Client.new

Returns:



13
14
15
# File 'lib/tweetstream.rb', line 13

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

+ (Boolean) respond_to?(method, include_private = false)

Delegate to TweetStream::Client

Returns:

  • (Boolean)


24
25
26
# File 'lib/tweetstream.rb', line 24

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